summary refs log blame commit diff stats
path: root/tests/reject/tsimtych.nim
blob: dd969958c57a64a2f65e1a0417f966233d7ec52a (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                                                               




                       

 
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