parser recovery: fails when there is no item to attach doc comments to. #4908
Labels
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
compiler: parser
Everything to do with the parser
Just noticed that starting a doc comment without a fully formed item underneath also causes the compiler to return an empty AST to the language server.
The below doesn't work
/// text
neither does this.
this works though because the function is fully formed.
The text was updated successfully, but these errors were encountered: