diff --git a/pkg/compiler/internal/diagnostics/error_analyzer.go b/pkg/compiler/internal/diagnostics/error_analyzer.go index 95b0c7fe..9b61e8e4 100644 --- a/pkg/compiler/internal/diagnostics/error_analyzer.go +++ b/pkg/compiler/internal/diagnostics/error_analyzer.go @@ -8,10 +8,10 @@ type SyntaxErrorMatcher func(src *file.Source, err *CompilationError, offending func AnalyzeSyntaxError(src *file.Source, err *CompilationError, offending *TokenNode) bool { matchers := []SyntaxErrorMatcher{ - matchCommonErrors, matchLiteralErrors, matchMissingAssignmentValue, matchForLoopErrors, + matchCommonErrors, matchMissingReturnValue, }