* fix #12864 static params were mutating arg types during sigmatch * fix test * fix StaticParam * also fixes #12713; added test case
This commit is contained in:
parent
c269964860
commit
10eabec6d4
6 changed files with 77 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
discard """
|
||||
errormsg: '''
|
||||
type mismatch: got <static[proc (a0: int): string{.noSideEffect, gcsafe, locks: 0.}](bar)>
|
||||
type mismatch: got <proc (a0: int): string{.noSideEffect, gcsafe, locks: 0.}>
|
||||
'''
|
||||
line: 13
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue