Closed
Description
"(x)2"
"&*s"
are is treated asExpr(:incomplete)
but should be an error (Small fix forExpr(:incomplete)
detection #278)Short form toplevel blocks and short form blocks have different rules forLineNumberNode
insertion (Fixes for line number node insertion in short form blocks #279)Expr(:toplevel)
containing errors don't include a sensible line number (leading to the test for Line number regression within modules julia#16720 regressing. Most sensible would be to removeLoadError
but let's do the easy compat 😬) (Reference parser compat: Make toplevel error Exprs more compatible #280)"\"a\"begin end"
Should be an error of string juxtaposition, not a doc block.Wrong line number forg
inparsestmt(Expr, "let f(x) =\ng(x)=1\nend")
"-(;;;;)^2"
parses incorrectly (Fix for block-vs-parameters in prefix call syntax #281)"try a catch var\"#\" b end"
fails to parse (Allowvar
identifier as exception name in catch #282)"x34967 = 1\n# Halloa\xf5b\nx34967 = 2"
should emit an "invalid UTF-8 sequence" error"aa\u200b_"
and"aa\UE0080"
should emit "invisible character" rather than "unknown character" error
Bugs in the reference parser
"f(2x for x=1:10, y"
is correctlyExpr(:incomplete)
but the reference parser thinks not.
Metadata
Metadata
Assignees
Labels
No labels
Activity
var
identifier as exception name in catch #282