Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

List error codes#35

Merged
mk13 merged 3 commits into
dart-archive:masterfrom
mk13:List_error_codes
Apr 19, 2017
Merged

List error codes#35
mk13 merged 3 commits into
dart-archive:masterfrom
mk13:List_error_codes

Conversation

@mk13

@mk13 mk13 commented Apr 18, 2017

Copy link
Copy Markdown
Contributor

Creates a list of error codes - to be used by angular-analyzer-plugin.

@MichaelRFairhurst

Copy link
Copy Markdown
Contributor

LGTM

Can you also (in this PR or another) make a function to look up the error code objects by error code name? In the dart analyzer they made a hashmap of codes to objects, and on lookup it lazily fills the map based on the list

@mk13

mk13 commented Apr 18, 2017

Copy link
Copy Markdown
Contributor Author

I added that part to the angular_analyzer_plugin. Do you think we should condense the logic into angular_analyzer_plugin or keep it separate?

Refer to dart-archive/angular_analyzer_plugin#276 for the part that improves the lazy loading.

@mk13 mk13 merged commit 13c0f3a into dart-archive:master Apr 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

3 participants