Browse Source

oops, add #if

Dan Korostelev 8 years ago
parent
commit
0d9ff6c88e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/unit/src/unit/issues/Issue6448.hx

+ 2 - 0
tests/unit/src/unit/issues/Issue6448.hx

@@ -1,5 +1,6 @@
 package unit.issues;
 
+#if js
 @:native("some6448")
 private class C {
 	public var v = true;
@@ -15,6 +16,7 @@ private extern class Lib {
 		untyped __js__("function ___hx_returnTrue() { return true; }");
 	}
 }
+#end
 
 class Issue6448 extends unit.Test {
 	#if js