proper discrimination between csEmpty and csNoMatch

fixes twrongtupleaccess and topaque
This commit is contained in:
Zahary Karadjov 2013-08-27 00:08:47 +03:00
commit dc33638cb2
2 changed files with 9 additions and 6 deletions

View file

@ -1,12 +1,10 @@
discard """
file: "twrongtupleaccess.nim"
line: 9
errormsg: "undeclared field: \'setBLAH\'"
errormsg: "undeclared identifier: \'setBLAH\'"
"""
# Bugfix
var v = (5.0, 10.0)
v.setBLAH(10)