Skip to content

Refactor expression type for consistency and readability #2057

Refactor expression type for consistency and readability

Refactor expression type for consistency and readability #2057

Triggered via push July 24, 2023 20:28
Status Success
Total duration 19m 20s
Artifacts
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

60 warnings
build (macos-13)
Dereference of a possibly null reference.
build (macos-13)
Possible null reference argument for parameter 'urls' in 'IWebHostBuilder HostingAbstractionsWebHostBuilderExtensions.UseUrls(IWebHostBuilder hostBuilder, params string[] urls)'.
build (macos-13)
Nullability of reference types in type of parameter 'argumentFromCLI' of 'string Program.LoadArgumentFromUserInterfaceAsJsonOrFileTextContext(string argumentFromCLI)' doesn't match the target delegate 'Func<string?, string>' (possibly because of nullability attributes).
build (macos-13)
Possible null reference argument for parameter 'functionName' in 'ApplyFunctionReport Program.ApplyFunction(string site, string functionName, IReadOnlyList<string> serializedArgumentsJson, bool commitResultingState, string? siteDefaultPassword, bool promptForPasswordOnConsole)'.
build (macos-13)
Nullability of reference types in value of type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>>?)' doesn't match target type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>> compiledAppFiles)'.
build (macos-13)
The tuple element name 'StringFromComponent' is ignored because a different name or no name is specified by the target type '(string name, Func<PineValue, Result<string, string>> decode)'.
build (macos-13)
Dereference of a possibly null reference.
build (macos-13)
Dereference of a possibly null reference.
build (macos-13)
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build (macos-13)
Possible null reference argument for parameter 'str' in 'PineValue PineValueAsString.ValueFromString(string str)'.
build (macos-13): implement/elm-time/Pine/BlobLibrary.cs#L125
Dereference of a possibly null reference.
build (macos-13): implement/elm-time/RunServer.cs#L146
Possible null reference argument for parameter 'urls' in 'IWebHostBuilder HostingAbstractionsWebHostBuilderExtensions.UseUrls(IWebHostBuilder hostBuilder, params string[] urls)'.
build (macos-13): implement/elm-time/Program.cs#L528
Nullability of reference types in type of parameter 'argumentFromCLI' of 'string Program.LoadArgumentFromUserInterfaceAsJsonOrFileTextContext(string argumentFromCLI)' doesn't match the target delegate 'Func<string?, string>' (possibly because of nullability attributes).
build (macos-13): implement/elm-time/Program.cs#L533
Possible null reference argument for parameter 'functionName' in 'ApplyFunctionReport Program.ApplyFunction(string site, string functionName, IReadOnlyList<string> serializedArgumentsJson, bool commitResultingState, string? siteDefaultPassword, bool promptForPasswordOnConsole)'.
build (macos-13): implement/elm-time/Program.cs#L782
Nullability of reference types in value of type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>>?)' doesn't match target type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>> compiledAppFiles)'.
build (macos-13): implement/elm-time/Pine/PineVM/PineVM.cs#L279
The tuple element name 'StringFromComponent' is ignored because a different name or no name is specified by the target type '(string name, Func<PineValue, Result<string, string>> decode)'.
build (macos-13): implement/elm-time/Program.cs#L1349
Dereference of a possibly null reference.
build (macos-13): implement/elm-time/Program.cs#L1358
Dereference of a possibly null reference.
build (macos-13): implement/elm-time/Program.cs#L1385
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build (macos-13): implement/elm-time/Pine/PineVM/PineCompileToDotNet.cs#L482
Converting null literal or possible null value to non-nullable type.
build (ubuntu-22.04): implement/elm-time/RunServer.cs#L146
Possible null reference argument for parameter 'urls' in 'IWebHostBuilder HostingAbstractionsWebHostBuilderExtensions.UseUrls(IWebHostBuilder hostBuilder, params string[] urls)'.
build (ubuntu-22.04): implement/elm-time/Pine/BlobLibrary.cs#L125
Dereference of a possibly null reference.
build (ubuntu-22.04): implement/elm-time/ElmTime/JintInterop.cs#L41
Dereference of a possibly null reference.
build (ubuntu-22.04): implement/elm-time/ElmTime/JintInterop.cs#L41
Converting null literal or possible null value to non-nullable type.
build (ubuntu-22.04): implement/elm-time/ElmTime/JintInterop.cs#L41
Possible null reference return.
build (ubuntu-22.04): implement/elm-time/ElmTime/JintInterop.cs#L53
Dereference of a possibly null reference.
build (ubuntu-22.04): implement/elm-time/ElmTime/JintInterop.cs#L53
Dereference of a possibly null reference.
build (ubuntu-22.04): implement/elm-time/ElmTime/JintInterop.cs#L53
Converting null literal or possible null value to non-nullable type.
build (ubuntu-22.04): implement/elm-time/ElmTime/JintInterop.cs#L55
Possible null reference return.
build (ubuntu-22.04): implement/elm-time/ElmTime/JsEngineJint.cs#L110
Possible null reference argument for parameter 'arg' in 'Expression Func<Node, Expression>.Invoke(Node arg)'.
build (ubuntu-22.04)
Possible null reference argument for parameter 'urls' in 'IWebHostBuilder HostingAbstractionsWebHostBuilderExtensions.UseUrls(IWebHostBuilder hostBuilder, params string[] urls)'.
build (ubuntu-22.04)
Nullability of reference types in type of parameter 'argumentFromCLI' of 'string Program.LoadArgumentFromUserInterfaceAsJsonOrFileTextContext(string argumentFromCLI)' doesn't match the target delegate 'Func<string?, string>' (possibly because of nullability attributes).
build (ubuntu-22.04)
Possible null reference argument for parameter 'functionName' in 'ApplyFunctionReport Program.ApplyFunction(string site, string functionName, IReadOnlyList<string> serializedArgumentsJson, bool commitResultingState, string? siteDefaultPassword, bool promptForPasswordOnConsole)'.
build (ubuntu-22.04)
Dereference of a possibly null reference.
build (ubuntu-22.04)
Nullability of reference types in value of type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>>?)' doesn't match target type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>> compiledAppFiles)'.
build (ubuntu-22.04)
Dereference of a possibly null reference.
build (ubuntu-22.04)
Converting null literal or possible null value to non-nullable type.
build (ubuntu-22.04)
Possible null reference return.
build (ubuntu-22.04)
Dereference of a possibly null reference.
build (ubuntu-22.04)
Dereference of a possibly null reference.
build (windows-2022)
Possible null reference argument for parameter 'urls' in 'IWebHostBuilder HostingAbstractionsWebHostBuilderExtensions.UseUrls(IWebHostBuilder hostBuilder, params string[] urls)'.
build (windows-2022)
Dereference of a possibly null reference.
build (windows-2022)
Nullability of reference types in type of parameter 'argumentFromCLI' of 'string Program.LoadArgumentFromUserInterfaceAsJsonOrFileTextContext(string argumentFromCLI)' doesn't match the target delegate 'Func<string?, string>' (possibly because of nullability attributes).
build (windows-2022)
Possible null reference argument for parameter 'functionName' in 'ApplyFunctionReport Program.ApplyFunction(string site, string functionName, IReadOnlyList<string> serializedArgumentsJson, bool commitResultingState, string? siteDefaultPassword, bool promptForPasswordOnConsole)'.
build (windows-2022)
Nullability of reference types in value of type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>>?)' doesn't match target type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>> compiledAppFiles)'.
build (windows-2022)
The tuple element name 'StringFromComponent' is ignored because a different name or no name is specified by the target type '(string name, Func<PineValue, Result<string, string>> decode)'.
build (windows-2022)
Dereference of a possibly null reference.
build (windows-2022)
Dereference of a possibly null reference.
build (windows-2022)
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build (windows-2022)
Possible null reference argument for parameter 'str' in 'PineValue PineValueAsString.ValueFromString(string str)'.
build (windows-2022): implement/elm-time/RunServer.cs#L146
Possible null reference argument for parameter 'urls' in 'IWebHostBuilder HostingAbstractionsWebHostBuilderExtensions.UseUrls(IWebHostBuilder hostBuilder, params string[] urls)'.
build (windows-2022): implement/elm-time/Program.cs#L528
Nullability of reference types in type of parameter 'argumentFromCLI' of 'string Program.LoadArgumentFromUserInterfaceAsJsonOrFileTextContext(string argumentFromCLI)' doesn't match the target delegate 'Func<string?, string>' (possibly because of nullability attributes).
build (windows-2022): implement/elm-time/Program.cs#L533
Possible null reference argument for parameter 'functionName' in 'ApplyFunctionReport Program.ApplyFunction(string site, string functionName, IReadOnlyList<string> serializedArgumentsJson, bool commitResultingState, string? siteDefaultPassword, bool promptForPasswordOnConsole)'.
build (windows-2022): implement/elm-time/Program.cs#L782
Nullability of reference types in value of type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>>?)' doesn't match target type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>> compiledAppFiles)'.
build (windows-2022): implement/elm-time/Pine/BlobLibrary.cs#L125
Dereference of a possibly null reference.
build (windows-2022): implement/elm-time/Program.cs#L1349
Dereference of a possibly null reference.
build (windows-2022): implement/elm-time/Program.cs#L1358
Dereference of a possibly null reference.
build (windows-2022): implement/elm-time/Program.cs#L1385
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build (windows-2022): implement/elm-time/Pine/PineVM/PineVM.cs#L279
The tuple element name 'StringFromComponent' is ignored because a different name or no name is specified by the target type '(string name, Func<PineValue, Result<string, string>> decode)'.
build (windows-2022): implement/elm-time/Pine/Json/JsonConverterForPineValue.cs#L69
Possible null reference argument for parameter 'str' in 'PineValue PineValueAsString.ValueFromString(string str)'.