fixed a parameter range check bug in a compiler.
fixed a wrong goto label location for send_message
This commit is contained in:
@ -198,10 +198,28 @@
|
||||
|
||||
#class(#liword) LargePositiveInteger(LargeInteger)
|
||||
{
|
||||
#method abs
|
||||
{
|
||||
^self.
|
||||
}
|
||||
|
||||
#method sign
|
||||
{
|
||||
^1.
|
||||
}
|
||||
}
|
||||
|
||||
#class(#liword) LargeNegativeInteger(LargeInteger)
|
||||
{
|
||||
#method abs
|
||||
{
|
||||
^self negated.
|
||||
}
|
||||
|
||||
#method sign
|
||||
{
|
||||
^-1.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user