Switch comment to use Kotlin syntax

This commit is contained in:
Chris Smowton
2021-12-08 15:59:40 +00:00
committed by Ian Lynagh
parent 44c64f0784
commit 2677115385

View File

@@ -763,7 +763,7 @@ open class KotlinFileExtractor(
} else {
val dr = c.dispatchReceiver
// Returns true if type is C<T1, T2, ...> where C is declared `class <T1, T2, ...> C { ... }`
// Returns true if type is C<T1, T2, ...> where C is declared `class C<T1, T2, ...> { ... }`
fun isUnspecialised(type: IrSimpleType) =
type.classifier.owner is IrClass &&
(type.classifier.owner as IrClass).typeParameters.zip(type.arguments).all { paramAndArg ->