Skip to content

Remove obsolete Error() in DMParser #4773

Remove obsolete Error() in DMParser

Remove obsolete Error() in DMParser #4773

Triggered via pull request February 14, 2024 21:40
Status Failure
Total duration 1m 38s
Artifacts

compiler-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, space-wizards/[email protected], actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, space-wizards/[email protected], actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: DMCompiler/Compiler/CompilerError.cs#L132
'CompileErrorException' is obsolete: 'This is not a desirable way for the compiler to emit an error. Use CompileAbortException or ForceError() if it needs to be fatal, or an DMCompiler.Emit() otherwise.'
build: DMCompiler/Compiler/CompilerError.cs#L143
'CompileErrorException' is obsolete: 'This is not a desirable way for the compiler to emit an error. Use CompileAbortException or ForceError() if it needs to be fatal, or an DMCompiler.Emit() otherwise.'
build: DMCompiler/DMCompiler.cs#L54
Possible null reference argument for parameter 'files' in 'DMPreprocessor? DMCompiler.Preprocess(List<string> files, Dictionary<string, string>? macroDefines)'.
build: DMCompiler/DMCompiler.cs#L54
Converting null literal or possible null value to non-nullable type.
build: DMCompiler/DMCompiler.cs#L60
Dereference of a possibly null reference.
build: DMCompiler/DMCompiler.cs#L65
Possible null reference argument for parameter 'interfaceFile' in 'string DMCompiler.SaveJson(List<DreamMapJson> maps, string interfaceFile, string outputFile)'.
build: DMCompiler/DMCompiler.cs#L136
Dereference of a possibly null reference.
build: DMCompiler/DMCompiler.cs#L140
Dereference of a possibly null reference.
build: DMCompiler/DMCompiler.cs#L140
Converting null literal or possible null value to non-nullable type.
build: DMCompiler/DMCompiler.cs#L141
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.