Closed Bug 2035985 Opened 2 months ago Closed 7 days ago

Update Kotlin to version 2.4.0

Categories

(Firefox for Android :: Tooling, task)

All
Android
task

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: RyanVM, Assigned: RyanVM)

References

Details

Attachments

(2 files)

Currently in Beta, but there's bugs we can fix now in preparation for it.

Turns out this is going to be blocked on updating to AGP 9 due to UAST changes that break some pretty common lint checks, so that's not fun.
https://youtrack.jetbrains.com/issue/KT-86080

Depends on: 2036969
Depends on: 2036970
Depends on: 2036971
Depends on: 2039647
Depends on: AGP9
Depends on: 2044942

Also bump semanticdb-kotlinc to 0.10.0, the first release compatible with
Kotlin 2.4, so the scip-kotlin indexing plugin can stay enabled.

Kotlin 2.4 renamed the warning emitted by the generated androidx.navigation
SafeArgs code from USELESS_CAST to UNSAFE_CAST_RELYING_ON_NULL, so update the
existing generated-code suppression to match. The underlying issue is still
open upstream: https://issuetracker.google.com/issues/458082829

Status: NEW → RESOLVED
Closed: 7 days ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: