FogBugz (Case [Issue]10361) Compiler Opal - Unused variable check

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FogBugz (Case [Issue]10361) Compiler Opal - Unused variable check

Pharo Issue Tracker
A FogBugz case was opened by Clement Bera.

Case ID:      10361
Title:        Unused variable check
Status:       Work Needed
Category:     Bug
Project:      Compiler Opal
Area:         Misc
Priority:     3 - Must Fix
Milestone:    Later
Assigned To:  Everyone

URL:          https://pharo.fogbugz.com/default.asp?10361

In the old compiler, if a variable is not read it is unused.
ex :
bar
| sum |
sum := 1.
^ 5
sum is unused, the warning is rased.
In Opal, if a variable is written but not read it is used. In the previous case the warning is not raised.


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=10361) from this case.

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker