Skip to content

Fix nested array default constructor lookup - #2128

Open
arpitagarwal1301 wants to merge 1 commit into
square:masterfrom
arpitagarwal1301:fix/1862-jsonclass-generateadapter-true-fails
Open

Fix nested array default constructor lookup#2128
arpitagarwal1301 wants to merge 1 commit into
square:masterfrom
arpitagarwal1301:fix/1862-jsonclass-generateadapter-true-fails

Conversation

@arpitagarwal1301

Copy link
Copy Markdown

Fixes #1862.

Summary

  • Preserve nested array component types when generating synthetic default-constructor lookups.
  • Add a regression test for an Array<Array<String>> property with a default value.

Validation

  • Focused DefaultConstructorTest.nestedArrayWithDefault regression
  • ./gradlew build
  • ./gradlew build check -PkotlinTestMode=REFLECT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@JsonClass(generateAdapter = true) fails when class has field with type Array<Array<T>> with default

1 participant