Bug fix and start improvements to subclassing.
This commit is contained in:
+2
-2
@@ -216,8 +216,8 @@ func Start() (err error) {
|
||||
case *ast.ObjCInterfaceDecl:
|
||||
w.AddInterface(x)
|
||||
for _,ss := range Config.Subclasses {
|
||||
for ps,_ := range ss {
|
||||
if matches(x.Name,[]string{ps}) {
|
||||
if sc,ok := ss["superclass"]; ok {
|
||||
if matches(x.Name,sc) {
|
||||
Config.Classes = append(Config.Classes,x.Name)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user