Kotlin: exclude generated code from useless parameter check

This commit is contained in:
Tamas Vajk
2022-10-12 12:42:56 +02:00
parent aa9dc3a764
commit 955336fb22
2 changed files with 3 additions and 1 deletions

View File

@@ -304,6 +304,9 @@ class RootdefCallable extends Callable {
this.getAnAnnotation() instanceof OverrideAnnotation
or
this.hasModifier("override")
or
// Exclude generated callables, such as `...$default` ones extracted from Kotlin code.
this.isCompilerGenerated()
}
}