google / ksp

Kotlin Symbol Processing API
https://github.com/google/ksp
Apache License 2.0
2.84k stars 266 forks source link

[KSP2] Not yet implemented: KSValueArgumentLiteImpl.getLocation #2048

Closed kuanyingchou closed 1 month ago

kuanyingchou commented 1 month ago

Created the issue so it's easier to track.

Stacktrace:

Caused by: kotlin.NotImplementedError: An operation is not implemented: Not yet implemented
    at com.google.devtools.ksp.impl.symbol.java.KSValueArgumentLiteImpl.getLocation(KSValueArgumentLiteImpl.kt:28)
    at androidx.room.compiler.processing.ksp.KspMessager.onPrintMessage(KspMessager.kt:53)
    at androidx.room.compiler.processing.XMessager.printMsg(XMessager.kt:98)
    at androidx.room.compiler.processing.XMessager.printMessage(XMessager.kt:87)
    at androidx.room.compiler.processing.XMessagerTest$errorOnAnnotationValueTest$1.invoke(XMessagerTest.kt:208)
...
ting-yuan commented 1 month ago

Fixed in #2050