--- a/ImmutableString.st Thu Jul 19 16:42:30 2012 +0200
+++ b/ImmutableString.st Thu Jul 19 19:34:43 2012 +0200
@@ -58,19 +58,19 @@
ATTENTION:
- there may be still code around which checks for explicit class being String
- (both in Smalltalk and in primitive code). All code like foo 'class == String'
- or '__isString' will not work with ImmutableStrings.
- A somewhat better approach would be to either add a flag to the object (mutability)
- and check this dynamically (expensive) or to place immutable objects into a readonly
- memory segment (the good solution). We will eventually implement the second in the future...
+ there may be still code around which checks for explicit class being String
+ (both in Smalltalk and in primitive code). All code like foo 'class == String'
+ or '__isString()' will not work with ImmutableStrings. Use '__isStringLike()' instead.
+ A somewhat better approach would be to either add a flag to the object (mutability)
+ and check this dynamically (expensive) or to place immutable objects into a readonly
+ memory segment (the good solution). We will eventually implement the second in the future...
[see also:]
- ImmutableArray
- Parser Scanner
+ ImmutableArray
+ Parser Scanner
[author:]
- Claus Gittinger
+ Claus Gittinger
"
! !
@@ -174,9 +174,9 @@
!ImmutableString class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/ImmutableString.st,v 1.11 2012-04-21 16:01:10 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/ImmutableString.st,v 1.12 2012-07-19 17:34:43 stefan Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic/ImmutableString.st,v 1.11 2012-04-21 16:01:10 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/ImmutableString.st,v 1.12 2012-07-19 17:34:43 stefan Exp $'
! !