Quellcode durchsuchen

[cs] minor - avoid class not found errors on other platforms

Cauê Waneck vor 10 Jahren
Ursprung
Commit
6767c40ac9
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      tests/unit/src/unit/issues/Issue4045.hx

+ 3 - 1
tests/unit/src/unit/issues/Issue4045.hx

@@ -1,16 +1,18 @@
 package unit.issues;
 
-#if cs
 class Issue4045 extends Test
 {
+#if cs
 	public function test()
 	{
 		var t = new TestS();
 		t.a = 10;
 		eq(10, t.a);
 	}
+#end
 }
 
+#if cs
 private abstract TestS(TestClass)
 {
     inline public function new()