Fix "Expected an item" error when mixing doc-comments and other attributes #6917
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
compiler
General compiler. Should eventually become more specific as the issue is triaged
team:compiler
Compiler Team
Doc-comments are attributes and can be arbitrarily mixed with other attributes. E.g., the following example should compile but it produces an "Expected an item" error:
The resulting documentation string in
forc doc
and LSP must be the joint of all the doc comments.The text was updated successfully, but these errors were encountered: