closes #8610 ; adds test case (#10454)

This commit is contained in:
Timothee Cour 2019-01-25 10:28:03 -08:00 • committed by Andreas Rumpf
commit 4d230db5ab

5
tests/errmsgs/t8610.nim Normal file
View file

@ -0,0 +1,5 @@
discard """
errmsg: "'typedesc' metatype is not valid here; typed '=' instead of ':'?"
"""
## issue #8610
const Foo = int