[bitc-dev] Captured By-reference parameters
Marvin Sielenkemper
sielenk at gmx.de
Sun Jan 25 08:53:13 CST 2009
On Wednesday 21 January 2009, Jonathan Shapiro wrote:
> marvin:
>
> The trunk version of BitC should no longer permit capturing by-reference
> parameters in a closure.
>
> I *think* the catch-with-just-otherwise case should also now be fixed.
>
> Can you confirm? The change probably hasn't hit the rsync-able tree yet, so
> you should pull it by:
>
> cd .../bitc/src
> hg pull
> hg update
> ./config.status # to process some configuration fixes
> make clean;make
>
> Swaroop is currently repairing a few other escape constraints, but the one
> that bit you should be resolved now.
Now I get syntax errors in some library file:
---snip---
sielenk at fenchurch ~/working/bitc/code $ bitcc -I ~/include --emit c Main.bitc
/home/sielenk/lib/libbitc.bita:9:32: syntax error
/home/sielenk/lib/libbitc.bita:1:1: syntax error
---snip---
I tried the usual update as you mentioned above (with an additional 'make
install' into my home folder). After that didn't work I cleaned manually and
built again but the error remains.
--
MfG Marvin H. Sielenkemper
More information about the bitc-dev
mailing list