Explorar o código

test for `expr is Module.SubType` (closes #10174)

Aleksandr Kuzmenko %!s(int64=4) %!d(string=hai) anos
pai
achega
9e7b13d011

+ 9 - 0
tests/unit/src/unit/issues/Issue10174.hx

@@ -0,0 +1,9 @@
+package unit.issues;
+
+class Issue10174 extends Test {
+	function test() {
+		//should be parsed and typed without errors
+		"" is unit.issues.misc.Issue10174Foo.Bar;
+		noAssert();
+	}
+}

+ 3 - 0
tests/unit/src/unit/issues/misc/Issue10174Foo.hx

@@ -0,0 +1,3 @@
+package unit.issues.misc;
+
+class Bar {}