Skip to content

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

Merged
merged 11 commits into from
Jul 21, 2017
Merged

Cleanup inference to enable clean DDC compile #20

merged 11 commits into from
Jul 21, 2017

Conversation

kevmoo
Copy link
Collaborator

@kevmoo kevmoo commented Jul 21, 2017

No description provided.

@kevmoo kevmoo changed the title WIP: cleaning up Cleanup inference to enable clean DDC compile Jul 21, 2017
@kevmoo kevmoo requested a review from natebosch July 21, 2017 15:53
@@ -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);
Copy link
Member

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CHANGELOG.md Outdated

* Fail generation when undefined types are encountered.
Throw a helpful error.
* **BREAKING** Fail generation for unsupported types.
Copy link
Member

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

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.

2 participants