From 76e64fd022f7515c4ea60d6c0197203b39c35eb3 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 2 Jun 2026 11:51:19 -0400 Subject: [PATCH] =?UTF-8?q?fix(android):=20close=20PlaybackErrorsApi=20kdo?= =?UTF-8?q?c=20=E2=80=94=20Kotlin=20nested-comment=20trap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .../fabledsword/minstrel/api/endpoints/PlaybackErrorsApi.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/java/com/fabledsword/minstrel/api/endpoints/PlaybackErrorsApi.kt b/android/app/src/main/java/com/fabledsword/minstrel/api/endpoints/PlaybackErrorsApi.kt index d2161638..df792717 100644 --- a/android/app/src/main/java/com/fabledsword/minstrel/api/endpoints/PlaybackErrorsApi.kt +++ b/android/app/src/main/java/com/fabledsword/minstrel/api/endpoints/PlaybackErrorsApi.kt @@ -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(