Closed Den1552 closed 2 months ago
The issue occurs in this line:
When a compileError
is encountered, we expect an error message to appear for the user and the ACOMPILE.LIS
to open. However, neither of these actions is happening, which is why the spec group coded_tests
is failing.
The root cause is that when a compile error occurs, the expected error code (pythonErrorCodes.codedTestCompileError (996)
) is not being returned. Instead, the error code returned is 228
. As a result, the returnStatus
is incorrectly set to didNotRun
.
This causes the TextMessage
to not be displayed:
Ultimately, this leads to the failure of the coded_tests
spec group.
This is not the correct fix.
See https://github.com/vectorgrp/vector-vscode-vcast-internal/issues/1
Summary
This PR is related to vectorgrp/vector-vscode-vcast#198. It contains a small change in the source code to fix issues when retrieving compile errors.