Fixed #1892 AS3 - internal modifier after implicit namespace

This commit is contained in:
Jindra Petřík
2023-01-13 09:02:32 +01:00
parent 41bba3cb79
commit 84af94475a
6 changed files with 153 additions and 28 deletions

View File

@@ -351,8 +351,7 @@ public abstract class Trait implements Cloneable, Serializable {
if (identifier != null && !identifier.isEmpty()) {
writer.appendNoHilight(identifier).appendNoHilight(" ");
}
}
if (ns != null) {
} else if (ns != null) {
String nsPrefix = ns.getPrefix(abc);
if (nsPrefix != null && !nsPrefix.isEmpty()) {
writer.appendNoHilight(nsPrefix).appendNoHilight(" ");