FIR: change source of existing type refs in DataClassMembersGenerator to avoid sources clash
This commit is contained in:
+25
@@ -222,6 +222,31 @@ object BuilderConfigurator : AbstractBuilderConfigurator<FirTreeBuilder>(FirTree
|
||||
builder(resolvedTypeRef) {
|
||||
defaultFalse("isSuspend")
|
||||
defaultNull("delegatedTypeRef")
|
||||
withCopy()
|
||||
}
|
||||
|
||||
builder(errorTypeRef) {
|
||||
withCopy()
|
||||
}
|
||||
|
||||
builder(delegatedTypeRef) {
|
||||
withCopy()
|
||||
}
|
||||
|
||||
builder(functionTypeRef) {
|
||||
withCopy()
|
||||
}
|
||||
|
||||
builder(resolvedFunctionTypeRef) {
|
||||
withCopy()
|
||||
}
|
||||
|
||||
builder(implicitTypeRef) {
|
||||
withCopy()
|
||||
}
|
||||
|
||||
builder(composedSuperTypeRef) {
|
||||
withCopy()
|
||||
}
|
||||
|
||||
builder(breakExpression) {
|
||||
|
||||
+4
-2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
@@ -380,7 +380,9 @@ object ImplementationConfigurator : AbstractFirTreeImplementationConfigurator()
|
||||
kind = Object
|
||||
}
|
||||
|
||||
impl(resolvedTypeRef)
|
||||
impl(resolvedTypeRef) {
|
||||
publicImplementation()
|
||||
}
|
||||
|
||||
impl(errorExpression) {
|
||||
defaultEmptyList("annotations")
|
||||
|
||||
Reference in New Issue
Block a user