fixed a bug where postfix ? was incorrectly unwrapping its operand

This commit is contained in:
satyr
2010-11-09 16:27:21 +09:00
parent 188ad03c17
commit 3ae818860b
3 changed files with 5 additions and 2 deletions

View File

@@ -160,3 +160,6 @@ eq 1, a?.b.c + 1
eq 1, a?.b.c += 1
eq 2, ++a?.b.c
eq yes, delete a?.b.c
eq (1 or 0)?, true, 'postfix `?` should unwrap correctly'