Explorar o código

[display] test for #8383

Aleksandr Kuzmenko %!s(int64=6) %!d(string=hai) anos
pai
achega
681783ef06
Modificáronse 1 ficheiros con 15 adicións e 0 borrados
  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)));
+	}
+}