[bug] CBoolean value: true fails

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

[bug] CBoolean value: true fails

Thomas Girard
Issue status update for
http://smalltalk.gnu.org/node/659
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/659

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  tgg
 Reported by:  tgg
 Updated by:   tgg
 Status:       active


Object: Character error: Invalid argument true: must be a SmallInteger
SystemExceptions.WrongClass(Exception)>>signal (ExcHandling.st:254)
SystemExceptions.WrongClass class>>signalOn:mustBe: (SysExcept.st:778)
SystemExceptions.WrongClass class>>signalOn:mustBe: (SysExcept.st:774)
Character class>>value: (Character.st:141)
CByte>>value: (CObject.st:1532)
CBoolean class(CScalar class)>>value: (CObject.st:507)


patch to follow



_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [bug] CBoolean value: true fails

Thomas Girard
Hello,

please find the patch attached. Along with the fix, a test exhibiting
the issue.

Paolo, can you please apply this or accept pull request 7 on github?

Thanks,
Regards,

Thomas

_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

issue659.diff (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [bug] CBoolean value: true fails

Paolo Bonzini-3
In reply to this post by Thomas Girard
Issue status update for
http://smalltalk.gnu.org/project/issue/659
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/659

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  tgg
 Reported by:  tgg
 Updated by:   bonzinip
-Status:       patch
+Status:       fixed

Applied, thanks.



_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk