[minor] scripting fixes in obsolete and test code...

relax acceptedAnnotations extraction rules for obsolete script template
handling code - the previous variant was failing on the typealias
comparison

also reduce warnings and possible exceptions on some test execution
paths
This commit is contained in:
Ilya Chernikov
2022-01-26 12:46:51 +01:00
committed by teamcity
parent 806bf8a735
commit 9d2cadc908
2 changed files with 3 additions and 3 deletions
@@ -91,7 +91,7 @@ open class KotlinScriptDefinitionFromAnnotatedTemplate(
left.parameters.size == right.parameters.size &&
left.parameters.zip(right.parameters).all {
it.first.kind == KParameter.Kind.INSTANCE ||
it.first.type == it.second.type
it.first.name == it.second.name
}
val resolveFunctions = getResolveFunctions()