Adds check for local variable in scope operator check #5722
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#L65
Parameter 'valPath' is unread.
|
build (ubuntu-latest):
DMCompiler/Compiler/DM/AST/DMAST.ObjectStatements.cs#L53
Possible null reference assignment.
|