UTILS: String.synthesizedString added
This commit is contained in:
committed by
vvlevchenko
parent
c68c4d3b6d
commit
7912852622
+3
-1
@@ -40,4 +40,6 @@ fun DeclarationDescriptor.deepPrint() {
|
||||
this.accept(DeepPrintVisitor(PrintVisitor()), 0)
|
||||
}
|
||||
|
||||
internal val String.synthesizedName get() = Name.identifier("\$" + this)
|
||||
internal val String.synthesizedName get() = Name.identifier(this.synthesizedString)
|
||||
|
||||
internal val String.synthesizedString get() = "\$$this"
|
||||
Reference in New Issue
Block a user