Closed bramtayl closed 4 years ago
I'm not 100% sure this is a bug, but if it's not, maybe there could be a nicer error?
Anything that throws an error can be thought of as a bug. We should be producing a result regardless of the input, similar to how other markdown parsers generally operate.
This one looks like a overread error, probably due to some missing backtracking when math syntax fails to parse. I'll have a fix shortly.
I get
I'm not 100% sure this is a bug, but if it's not, maybe there could be a nicer error? This came from one of the JuliaFormatter tests