A FogBugz case was opened by Gisela Decuzzi.
Case ID: 10886
Title: DNU when asking isArg to a RBVariableNode after doing semantic analysis
Status: Work Needed
Category: Bug
Project: Compiler Opal
Area: Misc
Priority: 5 - Fix If Time
Milestone: Pharo3.0: 30/03/2014
Assigned To: Marcus Denker
URL:
https://pharo.fogbugz.com/default.asp?10886After doing semantic analysis if we have a subclass of OCAbstractVariable binding in a variable node and we ask if it's arg we get a does not understand.
To reproduce:
1. create a class A with an instance variable b
2. add the method 's ^b'
3. parse and do the semantic analysis:
root := RBParser parseFaultyMethod: ((A methodDict at: #s) sourceCode).
root methodNode methodClass: A.
root doSemanticAnalysis.
4. Find the variable node corresponding to b and send the message isArg.
variableNode := root statements first value.
variableNode isArg.
Gets a DNU.Because of OCInstanceVariable
I can fix it but Don't know if we should modify OCAbstractVarible or only send isArg if it's a temp
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=10886) from this case.
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker