CBoolean value: true fails

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

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

Updates

#1 submitted by Paolo Bonzini on Mon, 10/08/2012 - 15:59
Status:patch» fixed

Applied, thanks.

User login