summary refs log tree commit diff stats
path: root/tests/js/t21439.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js/t21439.nim')
-rw-r--r--tests/js/t21439.nim5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/js/t21439.nim b/tests/js/t21439.nim
index 972356cd0..3caeb090a 100644
--- a/tests/js/t21439.nim
+++ b/tests/js/t21439.nim
@@ -1,8 +1,5 @@
-discard """
-  action: "compile"
-"""
-
 proc test(a: openArray[string]): proc =
+  let a = @a
   result = proc =
     for i in a:
       discard i