Skip to content
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

Error message types #3045

Merged
merged 1 commit into from
Feb 19, 2021
Merged

Error message types #3045

merged 1 commit into from
Feb 19, 2021

Conversation

richcarl
Copy link
Contributor

@richcarl richcarl commented Feb 8, 2021

Followup based on #3020.
Makes the compiler use the type declarations in erl_lint as the source of truth for how errors and warnings are represented.
(A minor snag was that the core_lint pass returned a module name (an atom) as the "filename", and the file:filename() type doesn't officially include atoms even if they have always worked.

@rickard-green rickard-green added the team:VM Assigned to OTP team VM label Feb 9, 2021
@bjorng
Copy link
Contributor

bjorng commented Feb 16, 2021

If this pull request is still relevant, please rebase it on the latest master.

@richcarl richcarl force-pushed the error-message-types branch 2 times, most recently from c17bd14 to c03f48a Compare February 17, 2021 15:32
@richcarl
Copy link
Contributor Author

Fixed now.

@bjorng
Copy link
Contributor

bjorng commented Feb 18, 2021

There are failed test cases in the core_SUITE and core_fold_SUITE modules for the compiler application.

@bjorng
Copy link
Contributor

bjorng commented Feb 18, 2021

The types look good to me.

@richcarl richcarl force-pushed the error-message-types branch from c03f48a to e990d49 Compare February 18, 2021 13:24
@richcarl
Copy link
Contributor Author

Fixed test cases.

@bjorng bjorng added enhancement testing currently being tested, tag is used by OTP internal CI labels Feb 18, 2021
@bjorng bjorng merged commit 6c89b93 into erlang:master Feb 19, 2021
@bjorng
Copy link
Contributor

bjorng commented Feb 19, 2021

Thanks for your pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants