On Jun 5, 2013, at 2:07 PM, Marcus Denker <marcus.denker@inria.fr> wrote:
On Jun 4, 2013, at 4:56 PM, Marcus Denker <marcus.denker@inria.fr> wrote:
On Jun 4, 2013, at 4:49 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
Hi,
When I enable OpalCompiler, and try to evaluate the following in a Workspace:
ZnClient new systemPolicy; url: 'http://easy.t3-platform.net/rest/geo-ip'; queryAt: 'address' put: '81.83.7.35'; accept: ZnMimeType applicationJson; contentReader: [ :entity | NeoJSONReader fromString: entity contents ]; ifFail: [ ^ self inform: 'Sorry, Dave, cannot do that.' ]; get; response.
I get a 'Name already defined' error on :entity, no matter how I name the block parameter.
Well, it happens on
[ :x | x + 1 ] value: 100.
as well ;-)
Yes, Camille was telling me already that he saw problems in the workspace like that.
I will checkâ¦
So I now understand what goes wrong, but fixing it will take a while (my fix now breaks 10 other tests this needs careful attention).
The latest version in the repository has now a fix for this. I will merge with the image soon. Marcus