added Integer>>priorTo:do:by:

changed the index of Integer>>bitAt: and stix_bitatint() to be 0 based.
added Error>>asCharacter
allowed underscores in integer literals
This commit is contained in:
hyunghwan.chung
2016-12-28 13:42:12 +00:00
parent d03b97f19d
commit eea13c0bd2
13 changed files with 216 additions and 113 deletions

View File

@ -151,8 +151,8 @@
#method == anObject
{
"check if the receiver is identical to anObject.
this doesn't compare the contents"
(* check if the receiver is identical to anObject.
* this doesn't compare the contents *)
<primitive: #_identical>
}
@ -164,8 +164,8 @@
#method(#class) == anObject
{
"check if the receiver is identical to anObject.
this doesn't compare the contents"
(* check if the receiver is identical to anObject.
* this doesn't compare the contents *)
<primitive: #_identical>
}
@ -234,10 +234,10 @@
#method(#class) isMemberOf: aClass
{
## a class object is an instance of Class
## but Class inherits from Apex. On the other hand,
## most of ordinary classes are under Object again under Apex.
## special consideration is required here.
(* a class object is an instance of Class
* but Class inherits from Apex. On the other hand,
* most of ordinary classes are under Object again under Apex.
* special consideration is required here. *)
^aClass == Class
}
@ -362,6 +362,11 @@
{
<primitive: #_error_as_integer>
}
#method asCharacter
{
<primitive: #_error_as_character>
}
#method asString
{