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

gac: emit semicolon after all CHECK_* calls; turn CHECK_{BOOL,FUNC} into functions #3419

Closed
wants to merge 2 commits into from

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented Apr 23, 2019

Main motivation for this is to ensure sensible error message in gac compiled code which match those produced by the interpreter and coder. A new test verifies this for CHECK_BOOL.

I was planning to add a similar test for CHECK_FUNC, but that revealed bugs in gac related to that, so that test along with a fix will be in a separate PR.

@fingolfin fingolfin added do not merge PRs which are not yet ready to be merged (e.g. submitted for discussion, or test results) topic: kernel release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes labels Apr 23, 2019
@coveralls
Copy link

coveralls commented Apr 23, 2019

Coverage Status

Coverage decreased (-6.0e-05%) to 85.227% when pulling bcd32ce on fingolfin:mh/tweak-gac-macros into 1c3584c on gap-system:master.

@fingolfin fingolfin removed the do not merge PRs which are not yet ready to be merged (e.g. submitted for discussion, or test results) label Apr 24, 2019
@fingolfin fingolfin changed the title WIP: gac: emit semicolon after all CHECK_* calls; turn CHECK_{BOOL,FUNC} into functions gac: emit semicolon after all CHECK_* calls; turn CHECK_{BOOL,FUNC} into functions Apr 24, 2019
@codecov
Copy link

codecov bot commented Apr 24, 2019

Codecov Report

Merging #3419 into master will decrease coverage by 0.22%.
The diff coverage is 88.31%.

@@            Coverage Diff             @@
##           master    #3419      +/-   ##
==========================================
- Coverage   85.42%    85.2%   -0.23%     
==========================================
  Files         697      699       +2     
  Lines      342456   344344    +1888     
==========================================
+ Hits       292547   293395     +848     
- Misses      49909    50949    +1040
Impacted Files Coverage Δ
src/error.h 100% <ø> (ø) ⬆️
src/objects.c 81.18% <ø> (-0.7%) ⬇️
src/vecffe.c 79.31% <0%> (-5.04%) ⬇️
src/compiler.c 88.58% <100%> (-0.68%) ⬇️
src/streams.c 74.3% <100%> (-3.24%) ⬇️
src/compiled.h 100% <100%> (ø)
src/funcs.c 98.78% <100%> (+0.35%) ⬆️
src/stats.c 94.97% <100%> (-0.08%) ⬇️
src/objfgelm.cc 98.49% <100%> (ø) ⬆️
src/error.c 87.07% <100%> (-1.35%) ⬇️
... and 110 more

@ChrisJefferson
Copy link
Contributor

ChrisJefferson commented Apr 27, 2019

I'll close this, and merge #3419 , which contains it

@fingolfin fingolfin deleted the mh/tweak-gac-macros branch April 27, 2019 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants