Main2.hx 198 B

1234567891011121314151617
  1. typedef C = { foo: Int }
  2. enum E {
  3. A(v:C);
  4. }
  5. class Main {
  6. static final ident:C = null;
  7. static function f(e:E):Int {
  8. return switch e {
  9. case A(ident): 0;
  10. }
  11. }
  12. static function main() {}
  13. }