blob: 27a922f6a040370e4271dd3360d515fe9d644ab0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
discard """
file: "tsimtych.nim"
line: 10
errormsg: "type mismatch: got (bool) but expected \'string\'"
"""
# Test 2
# Simple type checking
var a: string
a = false #ERROR
|