[FIR] Don't analyze properties with implicit types twice

Test `cast.kt` now don't work absolutely correct and implicit type of
  value parameter in lambda is't replaced with error type, but it's
  minor bug
This commit is contained in:
Dmitriy Novozhilov
2019-08-19 17:03:43 +03:00
parent f1e56c4b3e
commit d841090866
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ FILE fqName:<root> fileName:/justLambda.kt
FUN_EXPR type=kotlin.Function0<kotlin.Int> origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Int
BLOCK_BODY
CONST Int type=kotlin.Function0<kotlin.Int> value=42
CONST Int type=kotlin.Int value=42
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:kotlin.Function0<kotlin.Int>
correspondingProperty: PROPERTY name:test1 visibility:public modality:FINAL [val]
BLOCK_BODY