tsimpletypecheck.nim 186 B

1234567891011
  1. discard """
  2. errormsg: "type mismatch: got <bool> but expected \'string\'"
  3. file: "tsimpletypecheck.nim"
  4. line: 10
  5. """
  6. # Test 2
  7. # Simple type checking
  8. var a: string
  9. a = false #ERROR