Dan Korostelev 10 years ago
parent
commit
6a78b14623
1 changed files with 2 additions and 0 deletions
  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;
 package unit.issues;
 
 
 class Issue4551 extends Test {
 class Issue4551 extends Test {
+    #if js
     function test() {
     function test() {
         try {
         try {
             try throw "yay!" catch (e:Dynamic) js.Lib.rethrow();
             try throw "yay!" catch (e:Dynamic) js.Lib.rethrow();
@@ -8,4 +9,5 @@ class Issue4551 extends Test {
             eq(e, "yay!");
             eq(e, "yay!");
         }
         }
     }
     }
+    #end
 }
 }