Dan Korostelev 11 years ago
parent
commit
c74286d301

+ 5 - 0
tests/misc/projects/Issue3288/MainWithEmptyType.hx

@@ -0,0 +1,5 @@
+class Main {
+    static function main() {
+        WithEmptyType.
+    }
+}

+ 5 - 0
tests/misc/projects/Issue3288/MainWithType.hx

@@ -0,0 +1,5 @@
+class Main {
+    static function main() {
+        WithType.
+    }
+}

+ 5 - 0
tests/misc/projects/Issue3288/MainWithoutType.hx

@@ -0,0 +1,5 @@
+class Main {
+    static function main() {
+        WithoutType.
+    }
+}

+ 3 - 0
tests/misc/projects/Issue3288/WithEmptyType.hx

@@ -0,0 +1,3 @@
+class WithEmptyType {}
+class OtherType {}
+typedef AnotherOne = Int

+ 6 - 0
tests/misc/projects/Issue3288/WithType.hx

@@ -0,0 +1,6 @@
+class WithType {
+    public static var f1:Int;
+    public static function f2():Void {}
+}
+class OtherType {}
+typedef AnotherOne = Int

+ 2 - 0
tests/misc/projects/Issue3288/WithoutType.hx

@@ -0,0 +1,2 @@
+class SomeType {}
+enum OtherType {}

+ 1 - 0
tests/misc/projects/Issue3288/with-empty-type.hxml

@@ -0,0 +1 @@
+--display MainWithEmptyType.hx@64

+ 6 - 0
tests/misc/projects/Issue3288/with-empty-type.hxml.stderr

@@ -0,0 +1,6 @@
+<list>
+<i n="AnotherOne"><t>AnotherOne</t><d></d></i>
+<i n="OtherType"><t>OtherType</t><d></d></i>
+<i n="WithEmptyType"><t>WithEmptyType</t><d></d></i>
+</list>
+

+ 1 - 0
tests/misc/projects/Issue3288/with-type.hxml

@@ -0,0 +1 @@
+--display MainWithType.hx@59

+ 8 - 0
tests/misc/projects/Issue3288/with-type.hxml.stderr

@@ -0,0 +1,8 @@
+<list>
+<i n="AnotherOne"><t>AnotherOne</t><d></d></i>
+<i n="OtherType"><t>OtherType</t><d></d></i>
+<i n="WithType"><t>WithType</t><d></d></i>
+<i n="f1"><t>Int</t><d></d></i>
+<i n="f2"><t>Void -&gt; Void</t><d></d></i>
+</list>
+

+ 1 - 0
tests/misc/projects/Issue3288/without-type.hxml

@@ -0,0 +1 @@
+--display MainWithoutType.hx@62

+ 5 - 0
tests/misc/projects/Issue3288/without-type.hxml.stderr

@@ -0,0 +1,5 @@
+<list>
+<i n="OtherType"><t>OtherType</t><d></d></i>
+<i n="SomeType"><t>SomeType</t><d></d></i>
+</list>
+