Skip to content

Commit

Permalink
Value classes: Render 'value' before class
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmirus committed Nov 27, 2020
1 parent f158411 commit 6c68660
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ enum class DescriptorRendererModifier(val includeByDefault: Boolean) {
ACTUAL(true),
CONST(true),
LATEINIT(true),
FUN(true)
FUN(true),
VALUE(true)
;

companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,7 @@ internal class DescriptorRendererImpl(
renderModifier(builder, DescriptorRendererModifier.INNER in modifiers && klass.isInner, "inner")
renderModifier(builder, DescriptorRendererModifier.DATA in modifiers && klass.isData, "data")
renderModifier(builder, DescriptorRendererModifier.INLINE in modifiers && klass.isInline, "inline")
renderModifier(builder, DescriptorRendererModifier.VALUE in modifiers && klass.isValue, "value")
renderModifier(builder, DescriptorRendererModifier.FUN in modifiers && klass.isFun, "fun")
renderClassKindPrefix(klass, builder)
}
Expand Down

0 comments on commit 6c68660

Please sign in to comment.