A FogBugz case was edited by Clement Bera.
Case ID: 10610
Title: Make ASTInterpreter use OC (Opal) bindings instead of RB bindings
Status: Work Needed
Category: Cleanup
Project: Refactoring
Area: Misc
Priority: 3 - Must Fix
Milestone: Pharo3.0: 30/03/2014
Assigned To: Everyone
URL:
https://pharo.fogbugz.com/default.asp?10610The problem with #testEnsureTricky is due to a problem in OCBindings implementation.
| b |
b := nil asValueHolder.
[ :a |
[
[ a contents: 1 ] value.
[ a contents: 2 ] value.
] value
] value: b
In this case, in the block [ a contents: 2 ], the variable binding of 'a' has the incorrect scope.
I open a separate bug report.
You are subscribed to this case. If you do not want to receive automatic notifications in the future, unsubscribe (
https://pharo.fogbugz.com/default.asp?pre=preUnsubscribe&pg=pgEditBug&command=view&ixBug=10610) from this case.
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker