Type Approximation: add separate flag to control approx. anonymous type
This extra flexibility is useful for IDE where we always want to approximate anonymous types but may not want to approximate other local types
This commit is contained in:
+1
@@ -28,5 +28,6 @@ internal object PublicTypeApproximator {
|
||||
override val definitelyNotNullType: Boolean get() = false
|
||||
override val integerLiteralType: Boolean get() = true
|
||||
override val intersectionTypesInContravariantPositions: Boolean get() = true
|
||||
override val anonymous: Boolean get() = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user