Aoba-TelegramBot
Aoba-TelegramBot copied to clipboard
Aoba Telegram Bot written in Kotlin
Bumps [mongodb-driver-sync](https://github.com/mongodb/mongo-java-driver) from 3.11.0 to 3.11.3. Release notes Sourced from mongodb-driver-sync's releases. Java Driver 3.11.3 (February 18, 2021) Release Notes: https://developer.mongodb.com/community/forums/t/mongodb-java-driver-3-11-3-released/16830 3.11.2 Java Driver 3.11.2 (November 5, 2019) The 3.11.2...
Bumps ant from 1.8.2 to 1.10.9. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
## 错误来源 https://github.com/fython/Aoba-TelegramBot/commit/c6f4d20140126a8cf08e98f4d0c7029c600786aa#diff-538cbd8f51f4037bd1e971ef3261215bR133 ## 说明 Kotlin 中 Inline 函数允许为泛型标注 `reified` 修饰符避免类型擦除以获得该泛型的 Java Class,在这个例子当中我们试图获取该泛型对应的 Array 类(即 `E -> Array`),实际运行获取到的 Array 类是 `Object[]`,出现了预期外的类型擦除,导致最后 Gson 反序列化时使用了缺省的 LinkedHashMap 将 JsonArray 中的元素构建成了 Map 类型而非我们预期的 `E`...