Browse Source

[display] test for #8383

Aleksandr Kuzmenko 6 năm trước cách đây
mục cha
commit
681783ef06
1 tập tin đã thay đổi với 15 bổ sung0 xóa
  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)));
+	}
+}