Closed LilithHafner closed 1 year ago
Merging #358 (e621db4) into main (a57f093) will decrease coverage by
0.80%
. Report is 2 commits behind head on main. The diff coverage is0.00%
.
@@ Coverage Diff @@
## main #358 +/- ##
==========================================
- Coverage 96.56% 95.76% -0.80%
==========================================
Files 14 13 -1
Lines 4161 3895 -266
==========================================
- Hits 4018 3730 -288
- Misses 143 165 +22
Files | Coverage Δ | |
---|---|---|
src/hooks.jl | 80.92% <0.00%> (-2.12%) |
:arrow_down: |
How about "This is not your fault" (i.e. needing to send a bug report)? JuliaSyntax.jl should parse legal, and all illegal code, so it's never the users fault?! Though if illegal could have gotten an ERROR message from JuliaSyntax.jl, and then in that sense the users fault.
Lovely, let's do this! I'd use a triple quoted string rather than
*
but either way :-)
Agreed, triple quoted is better.
@PallHaraldsson I don't understand what you're saying. Yes, JuliaSyntax should be able to handle any input string, legal or illegal, but like all nontrivial software, JuliaSyntax has bugs. This PR improves the user experience when folks hit those bugs and encourage them to report the bugs they hit so we can fix them.
Yes it has bugs, and we want them reported, but with "probably" it seems like you're blaming the user for that. It didn't seem necessary. I want an error/clarification, just thought the wording could be adjusted.
Adds "This is probably not your fault, please submit a bug report (https://github.com/JuliaLang/JuliaSyntax.jl/issues)" to the long message when JuliaSytnax has an internal bug.
From @topolarity and @vchuravy 's commentary here https://github.com/JuliaLang/JuliaSyntax.jl/issues/340