Skip to content

Adds check for local variable in scope operator check #5722

Adds check for local variable in scope operator check

Adds check for local variable in scope operator check #5722

Triggered via pull request February 24, 2025 03:57
Status Success
Total duration 4m 3s
Artifacts

build-test.yml

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

Annotations

10 warnings
build (ubuntu-latest): DMCompiler/Compiler/Lexer.cs#L29
Non-nullable field '_current' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (ubuntu-latest): DMCompiler/Compiler/DMM/DMMParser.cs#L77
Possible null reference argument for parameter 'type' in 'ExpressionContext.ExpressionContext(DMCompiler compiler, DMObject type, DMProc proc)'.
build (ubuntu-latest): DMCompiler/Compiler/DMM/DMMParser.cs#L77
Cannot convert null literal to non-nullable reference type.
build (ubuntu-latest): DMCompiler/Compiler/DMM/DMMParser.cs#L82
Possible null reference argument for parameter 'varValue' in 'bool MapObjectJson.AddVarOverride(string varName, object varValue)'.
build (ubuntu-latest): DMCompiler/DM/Expressions/Procs.cs#L112
Dereference of a possibly null reference.
build (ubuntu-latest): DMCompiler/Program.cs#L109
Dereference of a possibly null reference.
build (ubuntu-latest): DMCompiler/Compiler/DM/AST/DMAST.ObjectStatements.cs#L98
Possible null reference assignment.
build (ubuntu-latest): DMCompiler/Compiler/DM/AST/DMAST.ObjectStatements.cs#L96
Non-nullable field 'VarName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (ubuntu-latest): DMCompiler/Compiler/DM/AST/DMAST.ObjectStatements.cs#L53
Possible null reference assignment.