bugfixes; step one for 'var T' as return type support

This commit is contained in:
Araq 2011-07-28 00:53:52 +02:00
commit 2f066395ba
27 changed files with 234 additions and 68 deletions

View file

@ -0,0 +1,15 @@
discard """
output: "45"
"""
var
g = 5
proc p(): var int =
var bla = addr(g) #: array [0..7, int]
result = bla[]
p() = 45
echo g