Dan Korostelev 10 lat temu
rodzic
commit
6a78b14623
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      tests/unit/src/unit/issues/Issue4551.hx

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

@@ -1,6 +1,7 @@
 package unit.issues;
 
 class Issue4551 extends Test {
+    #if js
     function test() {
         try {
             try throw "yay!" catch (e:Dynamic) js.Lib.rethrow();
@@ -8,4 +9,5 @@ class Issue4551 extends Test {
             eq(e, "yay!");
         }
     }
+    #end
 }