UTILS: String.synthesizedString added

This commit is contained in:
Vasily Levchenko
2017-02-17 14:23:55 +03:00
committed by vvlevchenko
parent c68c4d3b6d
commit 7912852622
@@ -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"