[FIR] Create fake hidden versions of List.getFirst/getLast in JDK < 21
... so that overrides are marked as deprecated regardless of the JDK. #KT-65440 Fixed
This commit is contained in:
committed by
Space Team
parent
c6b2675089
commit
2f49272c42
@@ -83,6 +83,7 @@ class InlinerCycleReporter(
|
||||
|
||||
} finally {
|
||||
if (!inlineCallInfos.isEmpty()) {
|
||||
@Suppress("DEPRECATION") // KT-65247
|
||||
if (inlineCallInfos.last.call == call) {
|
||||
inlineCallInfos.removeLast()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user