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

sort out interfaces #230

Merged
merged 1 commit into from
Aug 8, 2021
Merged

sort out interfaces #230

merged 1 commit into from
Aug 8, 2021

Conversation

aviatesk
Copy link
Owner

@aviatesk aviatesk commented Aug 8, 2021

The current infrastructure is messy. Let's sort it out and clean it up.

  • remove unnecessary report! indirection, rename to add_new_report!,
    which requires explicit report constructions
  • remove unnecessary report_pass! indirection, require explicit
    ReportPass constructions
  • update documents

@codecov-commenter
Copy link

codecov-commenter commented Aug 8, 2021

Codecov Report

Merging #230 (5747f7b) into master (aa32fbd) will increase coverage by 0.05%.
The diff coverage is 89.47%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #230      +/-   ##
==========================================
+ Coverage   86.14%   86.20%   +0.05%     
==========================================
  Files          12       12              
  Lines        1689     1696       +7     
==========================================
+ Hits         1455     1462       +7     
  Misses        234      234              
Impacted Files Coverage Δ
src/interfaces.jl 71.73% <66.66%> (+2.69%) ⬆️
src/abstractinterpretation.jl 89.47% <84.21%> (ø)
src/tfuncs.jl 98.90% <90.00%> (ø)
src/JET.jl 70.11% <100.00%> (ø)
src/analyzer.jl 74.31% <100.00%> (+0.72%) ⬆️
src/typeinfer.jl 93.44% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aa32fbd...5747f7b. Read the comment docs.

@aviatesk aviatesk force-pushed the avi/interface branch 2 times, most recently from 0f005fd to 5747f7b Compare August 8, 2021 14:16
The current infrastructure is messy. Let's sort it out and clean it up.

- remove unnecessary `report!` indirection, rename to `add_new_report!`,
  which requires explicit report constructions
- remove unnecessary `report_pass!` indirection, require explicit
  `ReportPass` constructions
- update documents
@aviatesk aviatesk merged commit 1584b0f into master Aug 8, 2021
@aviatesk aviatesk deleted the avi/interface branch August 8, 2021 14:26
aviatesk added a commit that referenced this pull request Aug 8, 2021
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.

None yet

2 participants