Skip to content

Commit

Permalink
Removed spurious hasErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
PieterOlivier committed Oct 25, 2024
1 parent 073b675 commit 5d60fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rascal-lsp/src/main/rascal/lang/rascal/lsp/Outline.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ list[DocumentSymbol] outlineRascalModule(start[Module] \mod) {
top-down-break visit (m) {
case decl: (Declaration) `<Tags _> <Visibility _> <Type t> <{Variable ","}+ vars>;`:
if (!hasErrors(decl)) {
children += [symbol(clean("<v.name>"), variable(), v@\loc, detail="variable <t> <v>") | v <- vars, !hasErrors(v)];
children += [symbol(clean("<v.name>"), variable(), v@\loc, detail="variable <t> <v>") | v <- vars];
}

case decl: (Declaration) `<Tags _> <Visibility _> anno <Type t> <Type ot>@<Name name>;`:
Expand Down

0 comments on commit 5d60fde

Please sign in to comment.