Skip to content

Compile error when outputting to const vars in for() loops #5382

Compile error when outputting to const vars in for() loops

Compile error when outputting to const vars in for() loops #5382

Triggered via pull request December 8, 2024 15:47
Status Success
Total duration 3m 48s
Artifacts

build-test.yml

on: pull_request
Matrix: build
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L66
Possible null reference argument for parameter 'files' in 'DMPreprocessor? DMCompiler.Preprocess(DMCompiler compiler, List<string> files, Dictionary<string, string>? macroDefines)'.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L66
Converting null literal or possible null value to non-nullable type.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L72
Dereference of a possibly null reference.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L77
Possible null reference argument for parameter 'interfaceFile' in 'string DMCompiler.SaveJson(List<DreamMapJson> maps, string interfaceFile, string outputFile)'.
build (ubuntu-latest): DMCompiler/Compiler/Lexer.cs#L29
Non-nullable field '_current' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L159
Dereference of a possibly null reference.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L163
Dereference of a possibly null reference.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L163
Converting null literal or possible null value to non-nullable type.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L164
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L122
Converting null literal or possible null value to non-nullable type.