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
|
ws
|
||||||
modality(status.modality)
|
modality(status.modality)
|
||||||
ws
|
ws
|
||||||
if (status.isCompanion) {
|
|
||||||
keyword("companion ")
|
|
||||||
}
|
|
||||||
if (status.isInline) {
|
|
||||||
keyword("inline ")
|
|
||||||
}
|
|
||||||
if (status.isInner) {
|
|
||||||
keyword("inner ")
|
|
||||||
}
|
|
||||||
if (status.isExpect) {
|
if (status.isExpect) {
|
||||||
keyword("expect ")
|
keyword("expect ")
|
||||||
}
|
}
|
||||||
@@ -487,33 +478,33 @@ class HtmlFirDump internal constructor(private var linkResolver: FirLinkResolver
|
|||||||
if (status.isOverride) {
|
if (status.isOverride) {
|
||||||
keyword("override ")
|
keyword("override ")
|
||||||
}
|
}
|
||||||
if (status.isOperator) {
|
if (status.isInner) {
|
||||||
keyword("operator ")
|
keyword("inner ")
|
||||||
}
|
}
|
||||||
if (status.isInfix) {
|
if (status.isCompanion) {
|
||||||
keyword("infix ")
|
keyword("companion ")
|
||||||
}
|
}
|
||||||
if (status.isInline) {
|
if (status.isInline) {
|
||||||
keyword("inline ")
|
keyword("inline ")
|
||||||
}
|
}
|
||||||
if (status.isTailRec) {
|
if (status.isInfix) {
|
||||||
keyword("tailrec ")
|
keyword("infix ")
|
||||||
}
|
}
|
||||||
if (status.isExternal) {
|
if (status.isExternal) {
|
||||||
keyword("external ")
|
keyword("external ")
|
||||||
}
|
}
|
||||||
|
if (status.isTailRec) {
|
||||||
|
keyword("tailrec ")
|
||||||
|
}
|
||||||
|
if (status.isOperator) {
|
||||||
|
keyword("operator ")
|
||||||
|
}
|
||||||
if (status.isConst) {
|
if (status.isConst) {
|
||||||
keyword("const ")
|
keyword("const ")
|
||||||
}
|
}
|
||||||
if (status.isLateInit) {
|
if (status.isLateInit) {
|
||||||
keyword("lateinit ")
|
keyword("lateinit ")
|
||||||
}
|
}
|
||||||
if (status.isInner) {
|
|
||||||
keyword("inner ")
|
|
||||||
}
|
|
||||||
if (status.isCompanion) {
|
|
||||||
keyword("companion ")
|
|
||||||
}
|
|
||||||
if (status.isData) {
|
if (status.isData) {
|
||||||
keyword("data ")
|
keyword("data ")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user