bugfix: type converter that converts to bool in 'if' context

This commit is contained in:
Araq 2011-03-25 00:47:03 +01:00
commit 032599c156
11 changed files with 77 additions and 25 deletions

View file

@ -0,0 +1,8 @@
discard """
line: 6
errormsg: "Error: type mismatch: got (int) but expected 'bool'"
"""
if 1:
echo "wtf?"