fixes #2252
This commit is contained in:
parent
8ade324b8c
commit
83cab19c62
4 changed files with 55 additions and 45 deletions
8
tests/clearmsg/tconsttypemismatch.nim
Normal file
8
tests/clearmsg/tconsttypemismatch.nim
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
discard """
|
||||
file: "tconsttypemismatch.nim"
|
||||
line: 7
|
||||
errormsg: "type mismatch"
|
||||
"""
|
||||
# bug #2252
|
||||
const foo: int = 1000 / 30
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue