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
+6 -2
View File
@@ -3,9 +3,13 @@ UFile (package = )
UAnnotationMethod (name = foo)
UParameter (name = bar)
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
ULiteralExpression (value = null)
UBlockExpression
UReturnExpression
ULiteralExpression (value = null)
UAnnotationMethod (name = bar)
ULiteralExpression (value = 42)
UBlockExpression
UReturnExpression
ULiteralExpression (value = 42)
UAnnotationMethod (name = baz)
UBlockExpression
UReturnExpression