Merge pull request #8966 from LemonBoy/fix-8964
Fix hashing for codegenProc (sic) types
This commit is contained in:
commit
0c04b80651
3 changed files with 20 additions and 14 deletions
10
tests/ccgbugs/t8964.nim
Normal file
10
tests/ccgbugs/t8964.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
targets: "c cpp"
|
||||
"""
|
||||
|
||||
from json import JsonParsingError
|
||||
import marshal
|
||||
|
||||
const nothing = ""
|
||||
doAssertRaises(JsonParsingError):
|
||||
var bar = marshal.to[int](nothing)
|
||||
Loading…
Add table
Add a link
Reference in a new issue