FIR: don't render resolved type annotations in favor of attributes

This commit is contained in:
Mikhail Glukhikh
2021-06-01 16:59:38 +03:00
committed by teamcityserver
parent 06379ec587
commit c33608e009
15 changed files with 23 additions and 29 deletions
@@ -6,7 +6,7 @@ FILE: RedundantExplicitTypeChecker.kt
}
public final fun annotated(): R|kotlin/Unit| {
lval x: @R|A|() R|kotlin/Int| = Int(1)
lval x: R|@R|A|() kotlin/Int| = Int(1)
}
public final object SomeObj : R|kotlin/Any| {
private constructor(): R|SomeObj| {
@@ -22,7 +22,7 @@ FILE: RedundantReturnUnitTypeChecker.kt
super<R|kotlin/Any|>()
}
public final fun too(): @R|kotlin/Annotation|() R|@R|kotlin/Annotation|() kotlin/Unit| {
public final fun too(): R|@R|kotlin/Annotation|() kotlin/Unit| {
}
public final fun foo(): R|kotlin/Unit| {