Fix ScriptDefinition subtyping after earlier refactorings
#KT-41905 fixed (may also fix other yet undetected or not analyzed problems with script definitions)
This commit is contained in:
+1
-1
@@ -175,7 +175,7 @@ abstract class ScriptDefinition : UserDataHolderBase() {
|
||||
get() = compilationConfiguration[ScriptCompilationConfiguration.annotationsForSamWithReceivers].orEmpty().map { it.typeName }
|
||||
|
||||
override fun equals(other: Any?): Boolean = this === other ||
|
||||
(other as? FromConfigurations)?.let {
|
||||
(other as? FromConfigurationsBase)?.let {
|
||||
compilationConfiguration == it.compilationConfiguration && evaluationConfiguration == it.evaluationConfiguration
|
||||
} == true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user