[FIR] Make FirPlaceholderProjection having source element
This commit is contained in:
+1
@@ -85,6 +85,7 @@ object FirTreeBuilder : AbstractFirTreeBuilder() {
|
||||
val constExpression by element(Expression, expression)
|
||||
val typeProjection by element(TypeRef)
|
||||
val starProjection by element(TypeRef, typeProjection)
|
||||
val placeholderProjection by element(TypeRef, typeProjection)
|
||||
val typeProjectionWithVariance by element(TypeRef, typeProjection)
|
||||
val argumentList by element(Expression)
|
||||
val call by sealedElement(Expression, statement) // TODO: may smth like `CallWithArguments` or `ElementWithArguments`?
|
||||
|
||||
-5
@@ -453,11 +453,6 @@ object ImplementationConfigurator : AbstractFirTreeImplementationConfigurator()
|
||||
default("name", "Name.special(\"<\${diagnostic.reason}>\")")
|
||||
}
|
||||
|
||||
impl(typeProjection, "FirTypePlaceholderProjection") {
|
||||
kind = Object
|
||||
noSource()
|
||||
}
|
||||
|
||||
impl(breakExpression) {
|
||||
defaultTypeRefWithSource("FirImplicitNothingTypeRef")
|
||||
useTypes(implicitNothingTypeRefType)
|
||||
|
||||
Reference in New Issue
Block a user