Guard against null exception (#10162)
This commit is contained in:
parent
4eee92a7a3
commit
ba7d33b4e4
2 changed files with 4 additions and 1 deletions
|
|
@ -9,6 +9,9 @@ js 3.14
|
|||
|
||||
# This file tests the JavaScript generator
|
||||
|
||||
doAssert getCurrentException() == nil
|
||||
doAssert getCurrentExceptionMsg() == ""
|
||||
|
||||
# #335
|
||||
proc foo() =
|
||||
var bar = "foo"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue