Explorar o código

add some tests (see #2996)

Simon Krajewski %!s(int64=10) %!d(string=hai) anos
pai
achega
42ff147626

+ 5 - 0
tests/misc/projects/Issue2996/Main.hx

@@ -0,0 +1,5 @@
+import haxe.macro.Expr;
+
+class Main {
+
+}

+ 1 - 0
tests/misc/projects/Issue2996/compile1.hxml

@@ -0,0 +1 @@
+--display Main.hx@0@resolve@Std

+ 3 - 0
tests/misc/projects/Issue2996/compile1.hxml.stderr

@@ -0,0 +1,3 @@
+<list>
+<pos>c:\github\haxe\std\std.hx:29: characters 7-12</pos>
+</list>

+ 1 - 0
tests/misc/projects/Issue2996/compile2.hxml

@@ -0,0 +1 @@
+--display Main.hx@0@resolve@ExprDef

+ 3 - 0
tests/misc/projects/Issue2996/compile2.hxml.stderr

@@ -0,0 +1,3 @@
+<list>
+<pos>c:\github\haxe\std\haxe\macro\expr.hx:197: lines 197-228</pos>
+</list>