#BUGFIX by stefan
class: Object
changed:
#_errorPrint (send #printString instead of #asString)
#_errorPrintCR (send #printString instead of #asString)
#_print (send #printString instead of #asString)
#_printCR (send #printString instead of #asString)
#asString fails on Collections with elements that do not understand #asCharacter
--- a/Object.st Thu Oct 12 17:48:20 2017 +0200
+++ b/Object.st Tue Oct 17 13:31:58 2017 +0200
@@ -625,6 +625,7 @@
! !
+
!Object methodsFor:'accessing'!
_at:index
@@ -7204,13 +7205,17 @@
Prints on stderr, regardless of any redirection to a logger.
Only to be used by the MiniDebugger, to ensure that its output is shown to a user"
- (self asString asSingleByteStringReplaceInvalidWith:$?) _errorPrint.
-
- "
+ "do not use #asString - error when executing: #('bla' 'fasel') asString"
+ (self printString asSingleByteStringReplaceInvalidWith:$?) _errorPrint.
+
+ "
+ #('bla' 'fasel') _errorPrint
'hello' asUnicode16String _errorPrint
'helloαβγ' asUnicode16String _errorPrint
'helloαβγ' asUnicode16String _errorPrintCR
"
+
+ "Modified (comment): / 17-10-2017 / 13:31:09 / stefan"
!
_errorPrintCR
@@ -7218,7 +7223,9 @@
Prints on stderr, regardless of any redirection to a logger.
Only to be used by the MiniDebugger, to ensure that its output is shown to a user"
- (self asString asSingleByteStringReplaceInvalidWith:$?) _errorPrintCR.
+ (self printString asSingleByteStringReplaceInvalidWith:$?) _errorPrintCR.
+
+ "Modified: / 17-10-2017 / 13:28:06 / stefan"
!
_print
@@ -7227,7 +7234,9 @@
Only to be used by low-level crash utilities (like MiniDebugger),
to ensure that its output is shown to a user"
- self asString _print.
+ self printString _print.
+
+ "Modified: / 17-10-2017 / 13:28:11 / stefan"
!
_printCR
@@ -7236,7 +7245,9 @@
Only to be used by low-level crash utilities (like MiniDebugger),
to ensure that its output is shown to a user"
- self asString _printCR.
+ self printString _printCR.
+
+ "Modified: / 17-10-2017 / 13:28:15 / stefan"
!
basicPrintOn:aStream