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

test/cached_extractions.erl: Ignore compile:forms/2-related Dialyzer errors #23

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

dumbbell
Copy link
Member

Why

What I considered a fix to the compile:forms/2 function was accepted in erlang/otp#5293 and available in Erlang/OTP 25.0+. However, this change was reverted in Erlang/OTP 27.0. I don't know the reason as of this writing.

Dialyzer in Erlang/OTP 27.0 also improved and now, it is not pleased by the way we use compile:forms/2, directly passing assembler.

How

Let's ignore this Dialyzer error, like we ignore it already in horus.

…errors

[Why]
What I considered a fix to the `compile:forms/2` function was accepted
in erlang/otp#5293 and available in Erlang/OTP 25.0+. However, this
change was reverted in Erlang/OTP 27.0. I don't know the reason as of
this writing.

Dialyzer in Erlang/OTP 27.0 also improved and now, it is not pleased by
the way we use `compile:forms/2`, directly passing assembler.

[How]
Let's ignore this Dialyzer error, like we ignore it already in `horus`.
@dumbbell dumbbell added the enhancement New feature or request label Jul 16, 2024
@dumbbell dumbbell added this to the v0.3.0 milestone Jul 16, 2024
@dumbbell dumbbell self-assigned this Jul 16, 2024
Copy link

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.61%. Comparing base (60f2161) to head (e58b2f0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #23   +/-   ##
=======================================
  Coverage   86.61%   86.61%           
=======================================
  Files           3        3           
  Lines         934      934           
=======================================
  Hits          809      809           
  Misses        125      125           
Flag Coverage Δ
erlang-24 81.31% <ø> (ø)
erlang-25 83.24% <ø> (ø)
erlang-26 78.60% <ø> (ø)
os-ubuntu-latest 86.61% <ø> (ø)
os-windows-latest 83.24% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dumbbell dumbbell merged commit 6321ea8 into main Jul 16, 2024
12 checks passed
@dumbbell dumbbell deleted the ignore-compile-forms/2-related-dialyzer-errors branch July 16, 2024 15:00
@dumbbell dumbbell removed the enhancement New feature or request label Jul 16, 2024
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.

1 participant