FIR: don't render resolved type annotations in favor of attributes
This commit is contained in:
committed by
teamcityserver
parent
06379ec587
commit
c33608e009
Vendored
+1
-1
@@ -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| {
|
||||
|
||||
compiler/fir/analysis-tests/testData/resolve/extendedCheckers/RedundantReturnUnitTypeChecker.fir.txt
Vendored
+1
-1
@@ -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| {
|
||||
|
||||
Reference in New Issue
Block a user