disallow typedesc in arrays & move existing checks to types.typeAllowedAux (#13261)
* disallow typedesc in arrays and move previous checks to types.typeAllowedAux
This commit is contained in:
parent
579456d520
commit
4c08e64e98
12 changed files with 70 additions and 50 deletions
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
errormsg: "invalid type for const: seq[SomeRefObj]"
|
||||
errormsg: "invalid type: 'SomeRefObj' in this context: 'seq[SomeRefObj]' for const"
|
||||
line: 14
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue