cCall doesn't update the old syntax flag

Project:GNU Smalltalk
Component:Base classes
Category:bug
Priority:normal
Assigned:Unassigned
Status:fixed
Description

(GTK.GtkWidget>>#activate) isOldSyntax => false should be true.
When the pragma is called it does a become but doesn't copy the oldSyntaxFlag.

710,712c710,712
< cCall: funcOrDescr < numArgs: self numArgs < attributes: self attributes. --- > cCall: funcOrDescr
> numArgs: self numArgs
> attributes: self attributes.
713a714
> self isOldSyntax ifTrue: [ newMethod noteOldSyntax ].
738a740
> self isOldSyntax ifTrue: [ newMethod noteOldSyntax ].
752a755
> self isOldSyntax ifTrue: [ newMethod noteOldSyntax ].

Updates

#1 submitted by Gwenael Casaccio on Tue, 04/19/2011 - 09:21

oups the patch is for CompildMethod.st

#2 submitted by Paolo Bonzini on Thu, 04/21/2011 - 06:47
Status:active» fixed

Applied, thanks.

User login