UAST: correct processing of string literals in string literals (KT-20990)

This commit is contained in:
Nicolay Mitropolsky
2017-10-28 20:28:42 +03:00
committed by xiexed
parent 11f9c055fd
commit a11cf253df
4 changed files with 14 additions and 3 deletions
+7
View File
@@ -17,7 +17,14 @@ UFile (package = )
USimpleNameReferenceExpression (identifier = bar)
ULiteralExpression (value = " ")
USimpleNameReferenceExpression (identifier = baz)
UField (name = case4)
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
UPolyadicExpression (operator = +)
ULiteralExpression (value = "a ")
ULiteralExpression (value = "literal")
ULiteralExpression (value = " z")
UAnnotationMethod (name = getFoo)
UAnnotationMethod (name = getBar)
UAnnotationMethod (name = getBaz)
UAnnotationMethod (name = getFoobarbaz)
UAnnotationMethod (name = getCase4)