Skip to content

Commit

Permalink
interface now extends other interface, new in Haxe3
Browse files Browse the repository at this point in the history
  • Loading branch information
yanhick committed Aug 30, 2013
1 parent 32ec035 commit 9e402c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions as3hx/as3hx/Writer.hx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ class Writer

for (c in cfg.importTypes.keys()) {
this.typeImportMap.set(c, cfg.importTypes.get(c));
trace(c);
}
}

Expand Down Expand Up @@ -323,7 +322,7 @@ class Writer
parents.push((isInterface ? "implements " : "extends ") + tstring(c.extend));
}
for (i in c.implement)
parents.push("implements " + tstring(i));
parents.push("extends " + tstring(i));
if(parents.length > 0)
buf.add(" " + parents.join(" "));
buf.add(openb());
Expand Down

0 comments on commit 9e402c5

Please sign in to comment.