summary refs log tree commit diff stats
path: root/tests/js/tjsffi.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js/tjsffi.nim')
-rw-r--r--tests/js/tjsffi.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/js/tjsffi.nim b/tests/js/tjsffi.nim
index b54d13e43..94323c074 100644
--- a/tests/js/tjsffi.nim
+++ b/tests/js/tjsffi.nim
@@ -180,7 +180,7 @@ block: # Test lit
 block: # Test bindMethod
   type TestObject = object
     a: int
-    onWhatever: proc(e: int): int
+    onWhatever: proc(e: int): int {.nimcall.}
   proc handleWhatever(this: TestObject, e: int): int =
     e + this.a
   block: