ankidroid / ankidroid/Anki-Android-Backend
Lists should be exposed to Kotlin as `List`, not `MutableList`
未关闭
- 主要语言
- Kotlin
- 星标
- 91
- 派生
- 54
- 平均合并
- 1 天 36 分钟
- 30 天内合并 PR
- 12
描述
Backend Codegen is problematic: it exposes a `java.util.List`, but this is actually a `com.google.protobuf.Internal.ProtobufList`. `ProtobufList` throws on mutation
> Extends List to add the capability to make the list immutable and inspect if it is modifiable.
https://protobuf.dev/reference/java/api-docs/com/google/protobuf/Internal.ProtobufList
Reported in: https://github.com/ankidroid/Anki-Android/pull/14948
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。