@@ -0,0 +1,15 @@
+import haxe.macro.Expr;
+import haxe.macro.Context;
+
+class Main {
+ static function main() {
+ invalidPackage();
+ }
+ static macro function invalidPackage() {
+ return {
+ expr: ENew({name: "Foo", pack: ["0"]}, []),
+ pos: Context.currentPos()
+ };
+}
@@ -0,0 +1 @@
+-main Main
@@ -0,0 +1,2 @@
+Type not found : 0.Foo
+Main.hx:4: lines 4-15 : Defined in this class