JuliaLang / JuliaSyntax.jl

The Julia compiler frontend
Other
274 stars 33 forks source link

Minor tweaks to remove method ambiguities and argument ambiguities #295

Closed c42f closed 1 year ago

c42f commented 1 year ago

These were harmless enough, but should satisfy the tests in Base.

Also remove a display_error() overload because (a) it's not designed to be overridden, and (b) this override doesn't really have the intended effect anyway in the latest version where the REPL uses exception stacks more extensively.

codecov[bot] commented 1 year ago

Codecov Report

Merging #295 (3598a2b) into main (671841b) will increase coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #295      +/-   ##
==========================================
+ Coverage   96.74%   96.77%   +0.02%     
==========================================
  Files          14       14              
  Lines        4088     4088              
==========================================
+ Hits         3955     3956       +1     
+ Misses        133      132       -1     
Impacted Files Coverage Δ
src/parser_api.jl 93.84% <ø> (+1.42%) :arrow_up:
src/tokenize.jl 99.07% <ø> (ø)
src/syntax_tree.jl 95.13% <100.00%> (+0.03%) :arrow_up: