fix(android): close PlaybackErrorsApi kdoc — Kotlin nested-comment trap
android / Build + lint + test (push) Successful in 4m55s
android / Build + lint + test (push) Successful in 4m55s
The kdoc on PlaybackErrorReportRequest mentioned the existing /api/plays/* endpoint. Kotlin's lexer treats /* inside a /** ... */ kdoc as a NESTED comment opener, which then swallows the outer */ — so the entire PlaybackErrorReportRequest data class disappeared from the symbol table and the four call sites in PlaybackErrorsApi.kt / MutationReplayer.kt / PlaybackErrorRepository.kt all reported "Unresolved reference". This is the trap recorded in the project's KSP-could-not-be- resolved memory; mark it again. Fix is mechanical: rewrite the prose as `/api/plays/...` so no /* sequence appears inside a block comment.
This commit is contained in:
+2
-2
@@ -21,8 +21,8 @@ interface PlaybackErrorsApi {
|
||||
* "zero_duration" / "load_failed" / "stalled"; server validates against
|
||||
* the CHECK constraint enum. `detail` is optional free-text (Media3
|
||||
* error message, etc.). `clientId` reuses the existing playback
|
||||
* client identifier the device already sends with /api/plays/* so
|
||||
* support can correlate reports across surfaces.
|
||||
* client identifier the device already sends with `/api/plays/...`
|
||||
* so support can correlate reports across surfaces.
|
||||
*/
|
||||
@kotlinx.serialization.Serializable
|
||||
data class PlaybackErrorReportRequest(
|
||||
|
||||
Reference in New Issue
Block a user