Fix modifiers order and repeating in html fir dump
This commit is contained in:
committed by
Mikhail Glukhikh
parent
58fd62fd49
commit
30e097a1e0
@@ -469,15 +469,6 @@ class HtmlFirDump internal constructor(private var linkResolver: FirLinkResolver
|
||||
ws
|
||||
modality(status.modality)
|
||||
ws
|
||||
if (status.isCompanion) {
|
||||
keyword("companion ")
|
||||
}
|
||||
if (status.isInline) {
|
||||
keyword("inline ")
|
||||
}
|
||||
if (status.isInner) {
|
||||
keyword("inner ")
|
||||
}
|
||||
if (status.isExpect) {
|
||||
keyword("expect ")
|
||||
}
|
||||
@@ -487,33 +478,33 @@ class HtmlFirDump internal constructor(private var linkResolver: FirLinkResolver
|
||||
if (status.isOverride) {
|
||||
keyword("override ")
|
||||
}
|
||||
if (status.isOperator) {
|
||||
keyword("operator ")
|
||||
if (status.isInner) {
|
||||
keyword("inner ")
|
||||
}
|
||||
if (status.isInfix) {
|
||||
keyword("infix ")
|
||||
if (status.isCompanion) {
|
||||
keyword("companion ")
|
||||
}
|
||||
if (status.isInline) {
|
||||
keyword("inline ")
|
||||
}
|
||||
if (status.isTailRec) {
|
||||
keyword("tailrec ")
|
||||
if (status.isInfix) {
|
||||
keyword("infix ")
|
||||
}
|
||||
if (status.isExternal) {
|
||||
keyword("external ")
|
||||
}
|
||||
if (status.isTailRec) {
|
||||
keyword("tailrec ")
|
||||
}
|
||||
if (status.isOperator) {
|
||||
keyword("operator ")
|
||||
}
|
||||
if (status.isConst) {
|
||||
keyword("const ")
|
||||
}
|
||||
if (status.isLateInit) {
|
||||
keyword("lateinit ")
|
||||
}
|
||||
if (status.isInner) {
|
||||
keyword("inner ")
|
||||
}
|
||||
if (status.isCompanion) {
|
||||
keyword("companion ")
|
||||
}
|
||||
if (status.isData) {
|
||||
keyword("data ")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user