KSP followups from #1393 (#1448)

* Rename to unwrapTypeAliasInternal + simplify

* Move down isAnyNullable

* Make dynamic explicit

* Clean up supertypes doc and filtering

* Switch to invoke extensions

* Just best guess the annotation

* Clean up redundant sequence and use a regular loop

* element -> type

* supertypes -> superclasses

* Spotless

* Fix copyright

* Add multiple messages check

* Link issue

Co-authored-by: Jesse Wilson <jesse@swank.ca>
This commit is contained in:
Zac Sweers
2021-12-05 20:34:37 -05:00
committed by GitHub
parent f57d7200f3
commit fb5dd08168
8 changed files with 85 additions and 102 deletions

View File

@@ -257,7 +257,7 @@ class DualKotlinTest {
val result = adapter.fromJson(testJson)!!
assertThat(result.i).isEqualTo(6)
// TODO doesn't work yet.
// TODO doesn't work yet. https://github.com/square/moshi/issues/1170
// need to invoke the constructor_impl$default static method, invoke constructor with result
// val testEmptyJson =
// """{}"""