Andreas Raab uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ar.435.mcz==================== Summary ====================
Name: Kernel-ar.435
Author: ar
Time: 25 March 2010, 3:27:26.733 pm
UUID: c4cbfefc-fcca-7643-9c6b-183eca2ccb8d
Ancestors: Kernel-nice.434
Include the selector of the failing primitive in the error message about primitive failure. For example:
Socket new primSocketDestroy: nil
now tells us that primSocketDestroy: failed instead of just 'a primitive has failed'.
=============== Diff against Kernel-nice.434 ===============
Item was added:
+ ----- Method: Object>>primitiveFailed: (in category 'error handling') -----
+ primitiveFailed: selector
+ "Announce that a primitive has failed and there is no appropriate
+ Smalltalk code to run."
+
+ self error: selector asString, ' failed'!
Item was changed:
----- Method: Object>>primitiveFailed (in category 'error handling') -----
primitiveFailed
"Announce that a primitive has failed and there is no appropriate
Smalltalk code to run."
+ self primitiveFailed: thisContext sender selector!
- self error: 'a primitive has failed'!