Fixed codegen for DotDot magic

This commit is contained in:
yglukhov 2015-06-03 16:15:54 +03:00
commit e9a57e9706
2 changed files with 18 additions and 8 deletions

View file

@ -1,5 +1,7 @@
discard """
output: '''true'''
output: '''true
123
'''
"""
# This file tests some magic
@ -7,3 +9,4 @@ discard """
var foo = cstring("foo")
var bar = cstring("foo")
echo(foo == bar)
echo "01234"[1 .. ^2]