Skip to content

Commit

Permalink
Update src/Neo.Compiler.CSharp/CompilationEngine/CompilationContext.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Shargon <[email protected]>
  • Loading branch information
Hecate2 and shargon committed Sep 9, 2024
1 parent 806b1d1 commit 009e9e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ internal void Compile()
try
{
#pragma warning disable CS8600 // Converting null literal or possible null value to non-nullable type.
(nef, manifest, debugInfo) = Neo.Optimizer.Optimizer.Optimize(nef, manifest, debugInfo: debugInfo!, optimizationType: Options.Optimize);
(nef, manifest, debugInfo) = Neo.Optimizer.Optimizer.Optimize(nef, manifest, debugInfo: debugInfo!.Clone(), optimizationType: Options.Optimize);

Check failure on line 162 in src/Neo.Compiler.CSharp/CompilationEngine/CompilationContext.cs

View workflow job for this annotation

GitHub Actions / Test

Argument 3: cannot convert from 'Neo.Json.JToken' to 'Neo.Json.JObject?'

Check failure on line 162 in src/Neo.Compiler.CSharp/CompilationEngine/CompilationContext.cs

View workflow job for this annotation

GitHub Actions / Test

Argument 3: cannot convert from 'Neo.Json.JToken' to 'Neo.Json.JObject?'
#pragma warning restore CS8600 // Converting null literal or possible null value to non-nullable type.
}
catch (Exception ex)
Expand Down

0 comments on commit 009e9e9

Please sign in to comment.