class: CodeGeneratorTool
changed: #missingRequiredProtocolFor:
abstract classes do not have missing required methods
--- 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 $'
! !