Generate synthetic getter & setter descriptors for static properties in Java classes

(recognized as properties defined in classes without dispatchReceiver and extensionReceiver).
Fix 'when' generation for else-only case.
This commit is contained in:
Dmitry Petrov
2016-08-29 20:18:42 +03:00
committed by Dmitry Petrov
parent 05b9eda809
commit b3f605c4c4
12 changed files with 263 additions and 50 deletions
+6
View File
@@ -0,0 +1,6 @@
FILE /whenElse.kt
FUN public fun test(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from=test
WHEN type=kotlin.Int operator=WHEN
else: CONST Int type=kotlin.Int value='42'