Browse Source

[display] test for #8383

Aleksandr Kuzmenko 6 years ago
parent
commit
681783ef06
1 changed files with 15 additions and 0 deletions
  1. 15 0
      tests/display/src/cases/Issue8383.hx

+ 15 - 0
tests/display/src/cases/Issue8383.hx

@@ -0,0 +1,15 @@
+package cases;
+
+class Issue8383 extends DisplayTestCase {
+	/**
+		class Main {
+			static var field(never,default):Int;
+			static function main() {
+				fi{-1-}eld = 10;
+			}
+		}
+	**/
+	function test() {
+		eq("Int", type(pos(1)));
+	}
+}