Uast: wrapping expression bodies with return and code block (#KT-23557)

This commit is contained in:
Nicolay Mitropolsky
2018-04-02 16:22:57 +03:00
committed by xiexed
parent 66d134ef5c
commit 14ce13315c
31 changed files with 191 additions and 76 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
public final class ReceiverFunKt {
public static final fun foo(@MyReceiverAnnotation @org.jetbrains.annotations.NotNull $receiver: java.lang.String) : int = this.length
public static final fun foo(@MyReceiverAnnotation @org.jetbrains.annotations.NotNull $receiver: java.lang.String) : int {
return this.length
}
}
public abstract annotation MyReceiverAnnotation {