JuliaLang / JuliaSyntax.jl

The Julia compiler frontend
Other
272 stars 35 forks source link

Disallow newline between contextual keyword pairs in parentheses #386

Closed c42f closed 11 months ago

c42f commented 11 months ago

Ensure that we never treat things like "mutable\nstruct" as introducing a mutable struct definition, even within parentheses where newline whitespace is insignificant.

Fixes part of #380

codecov[bot] commented 11 months ago

Codecov Report

Merging #386 (db0f2ee) into main (1351d70) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #386   +/-   ##
=======================================
  Coverage   96.58%   96.58%           
=======================================
  Files          14       14           
  Lines        4183     4183           
=======================================
  Hits         4040     4040           
  Misses        143      143           
Files Coverage Δ
src/parser.jl 98.10% <100.00%> (ø)