Init.hx 234 B

123456789101112
  1. package fail_target;
  2. import haxe.macro.Compiler;
  3. import haxe.macro.PlatformConfig;
  4. class Init {
  5. public static function init() {
  6. // Do something to fail to check that errors work here.
  7. final a = 123;
  8. final b: String = a;
  9. }
  10. }