R3IcoSphereShape>>addVertex: p found by loading an older build of R3 (#92 (Roassal3d.zip) Roassal3d.zip VERSION=stable PHARO=40) and changing the CriticRule RBFindBlockArgumentAssignment to search for methodArguments instead of block arguments and run the critic browser. But yes, the OC exception could be a bit more verbose :) nicolai 2014-09-01 21:06 GMT+02:00 Yuriy Tymchuk <yuriy.tymchuk@me.com>:
Roassal 3D. Herâs the job: https://ci.inria.fr/moose/job/Roassal3d/
Uko
On 01 Sep 2014, at 20:55, Nicolai Hess <nicolaihess@web.de> wrote:
which configuration are you trying to load?
2014-09-01 18:20 GMT+02:00 Yuriy Tymchuk <yuriy.tymchuk@me.com>:
By the way, is there any way to check which is the problematic method? Because I failed to find it in log.
Uko
On 01 Sep 2014, at 17:45, Marcus Denker <marcus.denker@inria.fr> wrote:
On 01 Sep 2014, at 17:35, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
This this started at 29th and crashes image while loading configuration. Any idea whatâs wrong?
This means that you load code that assigns to arguments (method arguments). The new compiler allowed it (an oversight), the old one did notâ¦. now it is again not allowed.
(for bock arguments, it is still allowed).
==== Startup Error: SyntaxErrorNotification: Cannot store intoOCSemanticError>>notify:at: OCSemanticError>>defaultAction [ :ex | ex defaultAction. ^ self compilationContext failBlock value ] in OpalCompiler>>doSemanticAnalysis in Block: [ :ex | ... BlockClosure>>cull: [ self exceptionHandlerBlock cull: exception ] in Context>>handleSignal: in Block: [ self exceptionHandlerBlock cull: exception ] BlockClosure>>ensure: Context>>handleSignal: OCSemanticError(Exception)>>signal OCASTSemanticAnalyzer>>storeIntoSpecialVariable: OCASTSemanticAnalyzer>>lookupVariableForWrite: OCASTSemanticAnalyzer>>visitAssignmentNode: RBAssignmentNode>>acceptVisitor: OCASTSemanticAnalyzer(RBProgramNodeVisitor)>>visitNode: [ :each | self visitNode: each ] in OCASTSemanticAnalyzer>>visitSequenceNode: in Block: [ :each | self visitNode: each ] OrderedCollection>>do: OCASTSemanticAnalyzer>>visitSequenceNode: RBSequenceNode>>acceptVisitor: OCASTSemanticAnalyzer(RBProgramNodeVisitor)>>visitNode: OCASTSemanticAnalyzer>>visitMethodNode: RBMethodNode>>acceptVisitor: OCASTSemanticAnalyzer(RBProgramNodeVisitor)>>visitNode: OCASTSemanticAnalyzer>>analyze: RBMethodNode>>doSemanticAnalysis RBMethodNode>>doSemanticAnalysisInContext: [ ast doSemanticAnalysisInContext: self compilationContext ] in OpalCompiler>>doSemanticAnalysis in Block: [ ast doSemanticAnalysisInContext: self compilatio...etc... BlockClosure>>on:do: OpalCompiler>>doSemanticAnalysis [ ast := self parse. self doSemanticAnalysis ] in [ [ ast := self parse. self doSemanticAnalysis ] on: OCSourceCodeChanged do: [ :notification | self source: notification newSourceCode. notification retry ]. cm := ast generate: self compilationContext compiledMethodTrailer ] in OpalCompiler>>compile in Block: [ ... BlockClosure>>on:do: [ [ ast := self parse. self doSemanticAnalysis ] on: OCSourceCodeChanged do: [ :notification | self source: notification newSourceCode. notification retry ]. cm := ast generate: self compilationContext compiledMethodTrailer ] in OpalCompiler>>compile in Block: [ ...Got startup errors: SyntaxErrorNotification: Cannot store into
Cheers Uko