-
Notifications
You must be signed in to change notification settings - Fork 412
Cleanup inference to enable clean DDC compile #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -76,7 +76,7 @@ class JsonSerializableGenerator | |||
// Explicitly using `LinkedHashMap` – we want these ordered. | |||
var fields = new LinkedHashMap<String, FieldElement>.fromIterable( | |||
fieldsList, | |||
key: (f) => f.name); | |||
key: (FieldElement f) => f.name); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[aside] I'm a little surprised this one is necessary - is fieldsList not well typed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed: dart-lang/sdk#26392
CHANGELOG.md
Outdated
|
||
* Fail generation when undefined types are encountered. | ||
Throw a helpful error. | ||
* **BREAKING** Fail generation for unsupported types. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
elaborate on what is unsupported
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
No description provided.