Commit graph

4 commits

Author SHA1 Message Date
Roberto Aloi
539e928aad Switch ELP from build_info to manifest plugin
Summary:
Now that `rebar3` has been bumped to `3.24.0`, we can use the built-in manifest plugin instead of the `build_info` one.

Given the limited user base for ELP, I think it's safe to have this breaking change and require users to bump their rebar3 version, instead of supporting both the native and additional plugin.

Reviewed By: michalmuskala

Differential Revision: D60914619

fbshipit-source-id: 08902fa93125329919d1a3734b171fe48e77b743
2024-10-23 09:29:42 -07:00
Alan Zimmerman
20130c838f BE: fix flaky test
Summary:
The `eqwalize_all_fails_on_bad_parse` test has become flaky because I added an additional file with errors to it, and the eqwalizer project parsing is non-deterministic. This meant it sometimes failed reported the errors from the new file, and sometimes from the original.

Fix it by moving the `parse_error_a_cascade.erl` test file into the `diagnostics` test project instead.

Reviewed By: ilya-klyuchnikov

Differential Revision: D57149198

fbshipit-source-id: ba25136994853235eb2c776d1bc71585ae8d7fe0
2024-05-09 02:17:59 -07:00
Alan Zimmerman
99ebfe91d0 combine related errors for eqwalizer cli reporting too
Summary:
The `DiagnosticsCollection` has functionality to combine related errors, so that if a function has a syntax error, the cascade of undefined functions from that reported by the erlang service compiler is collapsed, as they get added as related diagnostics to the syntax error.

Route the erlang service diagnostics reported by eqwalizer cli through this too.

Reviewed By: robertoaloi

Differential Revision: D56818059

fbshipit-source-id: 674d2622a12abf4a2d52339f0ec7fe8bb3c68791
2024-05-02 03:17:28 -07:00
facebook-github-bot
68677d4d15 Initial commit
fbshipit-source-id: c86303b25936d586b185a0b4f4e6dc8d307cf4aa
2023-08-02 07:54:59 -07:00