feat: add custom editor / visualizer to vscode extension #2986
Annotations
3 errors
packages/safe-ds-lang/tests/language/builtins/builtinFilesCorrectness.test.ts > source code > ['safeds/ml/classical/regression/ArimaRegressor.sdsstub'] should have no errors or warnings:
packages/safe-ds-lang/tests/language/builtins/builtinFilesCorrectness.test.ts#L166
AssertionError: Builtin file has errors or warnings:
- linking-error: Could not resolve reference to SdsDeclaration named 'ModelEvaluationQVisualization'.
at file:///home/runner/work/DSL/DSL/packages/safe-ds-lang/src/resources/builtins/safeds/ml/classical/regression/ArimaRegressor.sdsstub:58:35 -> 58:64
- type/mismatch: Expected type 'DataScienceCategory' but got 'unknown'.
at file:///home/runner/work/DSL/DSL/packages/safe-ds-lang/src/resources/builtins/safeds/ml/classical/regression/ArimaRegressor.sdsstub:58:15 -> 58:64
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "code": undefined,
+ "codeDescription": undefined,
+ "data": Object {
+ "code": "linking-error",
+ "containerType": "SdsReference",
+ "property": "target",
+ "refText": "ModelEvaluationQVisualization",
+ },
+ "message": "Could not resolve reference to SdsDeclaration named 'ModelEvaluationQVisualization'.",
+ "range": Object {
+ "end": Object {
+ "character": 63,
+ "line": 57,
+ },
+ "start": Object {
+ "character": 34,
+ "line": 57,
+ },
+ },
+ "relatedInformation": undefined,
+ "severity": 1,
+ "source": "safe-ds",
+ "tags": undefined,
+ },
+ Object {
+ "code": "type/mismatch",
+ "codeDescription": undefined,
+ "data": undefined,
+ "message": "Expected type 'DataScienceCategory' but got 'unknown'.",
+ "range": Object {
+ "end": Object {
+ "character": 63,
+ "line": 57,
+ },
+ "start": Object {
+ "character": 14,
+ "line": 57,
+ },
+ },
+ "relatedInformation": undefined,
+ "severity": 1,
+ "source": "safe-ds",
+ "tags": undefined,
+ },
+ ]
❯ new InvalidBuiltinFileError packages/safe-ds-lang/tests/language/builtins/builtinFilesCorrectness.test.ts:166:9
❯ packages/safe-ds-lang/tests/language/builtins/builtinFilesCorrectness.test.ts:52:19
|
packages/safe-ds-lang/tests/language/builtins/safe-ds-annotations.test.ts > getCategory > should return the category of the declaration ('annotation with valid value'):
packages/safe-ds-lang/tests/language/builtins/safe-ds-annotations.test.ts#L45
AssertionError: expected undefined to be 'DataPreparation' // Object.is equality
- Expected:
"DataPreparation"
+ Received:
undefined
❯ packages/safe-ds-lang/tests/language/builtins/safe-ds-annotations.test.ts:45:60
|
build-dsl (18.x)
Process completed with exit code 1.
|