class: CodeGeneratorTool
authorStefan Vogel <sv@exept.de>
Tue, 02 Dec 2014 14:42:02 +0100
changeset 14966 bf1928739b12
parent 14965 02bfa1f4aa9a
child 14967 e92d9ac3f138
class: CodeGeneratorTool changed: #missingRequiredProtocolFor: abstract classes do not have missing required methods
CodeGeneratorTool.st
--- a/CodeGeneratorTool.st	Tue Dec 02 13:26:01 2014 +0100
+++ b/CodeGeneratorTool.st	Tue Dec 02 14:42:02 2014 +0100
@@ -851,6 +851,11 @@
 
     |requiredSelectors implementedSelectors|
 
+    aClass isAbstract ifTrue:[
+        "abstract classes are not responsible for methods to be defined in subclasses"    
+        ^ self.
+    ].
+
     requiredSelectors := IdentitySet new.
     implementedSelectors := IdentitySet withAll:(aClass methodDictionary keys).
 
@@ -1782,10 +1787,10 @@
 !CodeGeneratorTool class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/CodeGeneratorTool.st,v 1.108 2014-08-05 20:17:17 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/CodeGeneratorTool.st,v 1.109 2014-12-02 13:42:02 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/CodeGeneratorTool.st,v 1.108 2014-08-05 20:17:17 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/CodeGeneratorTool.st,v 1.109 2014-12-02 13:42:02 stefan Exp $'
 ! !