[FIR] Expand type of const val in FirConstPropertyChecker

This commit is contained in:
Dmitriy Novozhilov
2021-05-21 11:11:08 +03:00
committed by TeamCityServer
parent 669985f853
commit 478a512b24
7 changed files with 32 additions and 2 deletions
@@ -0,0 +1,4 @@
FILE: constValWithTypealiasType.kt
public final typealias Foo = R|kotlin/Int|
public final const val x: R|Foo| = Int(10)
public get(): R|Foo|
@@ -0,0 +1,3 @@
typealias Foo = Int
const val x: Foo = 10