Class import: message does nothing

Project:GNU Smalltalk
Component:Base classes
Category:bug
Priority:normal
Assigned:Unassigned
Status:fixed
Attachment:promote-builtin-import.patch (806 bytes)
Description

STCompiler, at least, uses the #import: message on classes to implement that pragma. Unfortunately the empty version in Builtins.st shadowed the proper definition in ClassDesc.st:

Object: nil error: did not understand #at:ifAbsent:
...
STInST.STCompiler>>acceptMessageNode:

where nil is supposed to be VMSpecialMethods. Fixed in smalltalk--backstage--2.2--patch-68 by promoting said empty version to ClassDescription.

Updates

#1 submitted by Paolo Bonzini on Mon, 10/15/2007 - 07:38
Status:committed» fixed

Thanks, committed as patch-606.

User login