K2: use intersection scope override checker also in intersection scope
In more details, we use either platform override checker (if we came from platform) or the combined intersection scope override checker at this place. Also this commit fixes various places around JavaOverrideChecker, allowing to apply it in intersection override checker properly: - don't consider return types in this place - apply JavaOverrideChecker if at least one candidate is from Java - compare type primitivity closer to K1 logic #KT-62554 Fixed Partially fixes KT-63242
This commit is contained in:
committed by
Space Team
parent
54d978ba86
commit
e42c1be354
@@ -1,5 +1,4 @@
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// IGNORE_LIGHT_ANALYSIS
|
||||
// (Unresolved reference: B supertype in C declaration)
|
||||
// ISSUE: KT-63242
|
||||
|
||||
Reference in New Issue
Block a user