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

Refactor initialization of GAP error handling #698

Merged
merged 1 commit into from Sep 15, 2021

Conversation

fingolfin
Copy link
Member

This way, we don't need to call "high-level" functions like evalstr
from inside init, which otherwise complicates certain code refactoring.

Also improve type inference for disable_error_handler by turning it into a Ref

This way, we don't need to call "high-level" functions like evalstr
from inside __init__, which otherwise complicates certain code refactoring.

Also improve type inference for `disable_error_handler` by turning it into a `Ref`
@codecov
Copy link

codecov bot commented Sep 15, 2021

Codecov Report

Merging #698 (3262455) into master (da72683) will decrease coverage by 0.05%.
The diff coverage is 70.00%.

@@            Coverage Diff             @@
##           master     #698      +/-   ##
==========================================
- Coverage   82.89%   82.83%   -0.06%     
==========================================
  Files          46       46              
  Lines        3618     3613       -5     
==========================================
- Hits         2999     2993       -6     
- Misses        619      620       +1     
Impacted Files Coverage Δ
src/prompt.jl 0.00% <0.00%> (ø)
src/GAP.jl 80.00% <83.33%> (-2.11%) ⬇️
src/ccalls.jl 98.49% <100.00%> (ø)

@fingolfin fingolfin merged commit 91cc38a into oscar-system:master Sep 15, 2021
@fingolfin fingolfin deleted the mh/error-init branch September 15, 2021 14:49
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

1 participant