-
Notifications
You must be signed in to change notification settings - Fork 17
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
Prevent crash on sigil_prefix
and sigil_suffix
(OTP 27)
#83
Conversation
I was able to conjure up a test 🧙♂️, though this is a very strange occurrence (it's late so I guess I must be sleepy). Without the |
Before it start analysis hank already tries to read files, and is crashing at that moment Since the "wholly ignored" section of the code comes later that the initial analysis that crashes we're left with not using Hank for the time being
7649244
to
476e334
Compare
@@ -8,7 +8,7 @@ | |||
{profiles, | |||
[{test, [{cover_enabled, true}, {cover_opts, [verbose]}, {ct_opts, [{verbose, true}]}]}]}. | |||
|
|||
{alias, [{test, [compile, format, hank, lint, xref, dialyzer, ct, cover, ex_doc]}]}. | |||
{alias, [{test, [compile, lint, xref, dialyzer, ct, cover, ex_doc]}]}. |
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.
We should definitely write up a ticket to recover these 2 tools once they incorporate the new katana version we'll create with these changes.
Any chance this gets released soon so we can update tools depending on |
Motivation
rebar3_hank
crashes when trying to analyse a file that containsMissing tests
I can't seem to be able to create a test for this. It's possible there's some type of pre-processing on the input. Please advise.Further considerations
We're using
rebar3_hank
in this lib., but that's also crashing due to this lib. We could create a task to re-incorporate it later, if you think it worth it. The same can be done for the formatter, since that's also crashing, even with the-format ignore
that I just removed.