فهرست منبع

Revert "Revert "add some tests (see #2996)"". Change to proper tests.

This reverts commit 6fdad652be0d6143e75eed241e3a4854cad5bfef.
Dan Korostelev 10 سال پیش
والد
کامیت
ed234a791a

+ 1 - 0
tests/misc/projects/Issue2996/A.hx

@@ -0,0 +1 @@
+abstract A(String) {}

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

@@ -0,0 +1,5 @@
+import pack.B;
+
+class Main {
+
+}

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

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

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

@@ -0,0 +1,3 @@
+<list>
+<pos>$$normPath(::cwd::/A.hx):1: characters 0-8</pos>
+</list>

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

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

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

@@ -0,0 +1,3 @@
+<list>
+<pos>$$normPath(::cwd::/pack/B.hx):3: characters 0-5</pos>
+</list>

+ 3 - 0
tests/misc/projects/Issue2996/pack/B.hx

@@ -0,0 +1,3 @@
+package pack;
+
+class C {}