2009/4/15 Dennis Schetinin <[email protected]>:
> [:a :b | a+b] decompile decompileString
>
> gives '[:t1 :t2 | t1 + t2]'
>
> (The same thing when I decompile block defined in method)
>
> (In #decompileBlock:) the branch
>    method fileIndex ~~ 0  ifTrue: [...]
> finds all tempVar names including block's arguments but then they are eaten
> by
>   self initSymbols: homeClass
> where only tempVars defined by method itself survive...
>
> ... and I don't know how to fix it...

I think that is perfectly normal. The bytecode do not need the
variable names, only their indices.

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to