FogBugz (Case [Issue]10268) Compiler (old) - Block closure external temporaries read not handled

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

FogBugz (Case [Issue]10268) Compiler (old) - Block closure external temporaries read not handled

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

Case ID:      10268
Title:        Block closure external temporaries read not handled
Status:       Work Needed
Category:     Bug
Project:      Compiler (old)
Area:         Misc
Priority:     4 - Fix If Time
Milestone:    Pharo2.0: 10/03/2013 (Past)
Assigned To:  Everyone

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

When you write this method :

exampleMaxArg
| a1 a2 a3 a4 a5 a6 a7 a8 a9 b1 b2 b3 b4 b5 b6 b7 |
a1 := 1.
a2 := 1.
a3 := 1.
a4 := 1.
a5 := 1.
a6 := 1.
a7 := 1.
a8 := 1.
a9 := 1.
b1 := 1.
b2 := 1.
b3 := 1.
b4 := 1.
b5 := 1.
b6 := 1.
b7 := 1.
[ a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9 + b1 + b2 + b3 + b4 + b5 + b6 + b7 ] value

and compiled, it raises an uncaught error : genPushClosureCopyNumCopiedValues:numArgs:jumpSize: num copied index 16 is out of range 0 to 15

whereas for others errors as for the method :

exampleMaxArg2
[ :a1 :a2 :a3 :a4 :a5 :a6 :a7 :a8 :a9 :b1 :b2 :b3 :b4 :b5 :b6 :b7 | ] valueWithArguments: #(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17)

You have a message in the morph : 'Too many arguments ->' and you don't have an uncaught error.

So there shouldn't be an uncaught error for excessive number of copied value but a message 'Too many copied values' somewhere.


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

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