Status: Fixed
Owner: siguctua
CC: stephane.ducasse, marcus.denker, eliot.miranda
Labels: Milestone-1.2
New issue 3531 by siguctua: [FIX]ParseNodeEnumerator does not visits ivar
nodes
http://code.google.com/p/pharo/issues/detail?id=3531i found that enumerator does not does not visits the instance variable node:
visitInstanceVariableNode: anInstanceVariableNode
(self shouldVisit: anInstanceVariableNode) ifFalse:
[^nil].
" theBlock value: anInstanceVariableNode. <<<< missing "
^super visitInstanceVariableNode: anInstanceVariableNode
I thought that it was left on purpose, but Eliot confirmed that its a bug.
The fix is in attachment.
Attachments:
CompilerParser-class-fix.1.cs 408 bytes