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:
committed by
Dmitry Petrov
parent
05b9eda809
commit
b3f605c4c4
@@ -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'
|
||||
Reference in New Issue
Block a user