From 5d60fde48e12e5e1655b4ee61b8eec286890104a Mon Sep 17 00:00:00 2001 From: Pieter Olivier Date: Fri, 25 Oct 2024 14:43:00 +0200 Subject: [PATCH] Removed spurious hasErrors --- rascal-lsp/src/main/rascal/lang/rascal/lsp/Outline.rsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rascal-lsp/src/main/rascal/lang/rascal/lsp/Outline.rsc b/rascal-lsp/src/main/rascal/lang/rascal/lsp/Outline.rsc index 9457630fc..2c4f6186f 100644 --- a/rascal-lsp/src/main/rascal/lang/rascal/lsp/Outline.rsc +++ b/rascal-lsp/src/main/rascal/lang/rascal/lsp/Outline.rsc @@ -45,7 +45,7 @@ list[DocumentSymbol] outlineRascalModule(start[Module] \mod) { top-down-break visit (m) { case decl: (Declaration) ` <{Variable ","}+ vars>;`: if (!hasErrors(decl)) { - children += [symbol(clean(""), variable(), v@\loc, detail="variable ") | v <- vars, !hasErrors(v)]; + children += [symbol(clean(""), variable(), v@\loc, detail="variable ") | v <- vars]; } case decl: (Declaration) ` anno @;`: