Skip to content

Fix and add in csharp grammar since it also failed the Java target. #1386

Fix and add in csharp grammar since it also failed the Java target.

Fix and add in csharp grammar since it also failed the Java target. #1386

Triggered via push October 8, 2024 10:39
Status Failure
Total duration 7m 17s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 21 warnings
build: _tests/grammars-v4/csharp/Generated-CSharp/Test.cs#L52
'CSharpPreprocessorParser' does not contain a definition for 'compilation_unit' and no accessible extension method 'compilation_unit' accepting a first argument of type 'CSharpPreprocessorParser' could be found (are you missing a using directive or an assembly reference?)
build: _tests/grammars-v4/csharp/Generated-CSharp/Test.cs#L62
'CSharpPreprocessorParser' does not contain a definition for 'compilation_unit' and no accessible extension method 'compilation_unit' accepting a first argument of type 'CSharpPreprocessorParser' could be found (are you missing a using directive or an assembly reference?)
build: _tests/grammars-v4/csharp/Generated-CSharp/Test.cs#L121
'CSharpPreprocessorParser' does not contain a definition for 'compilation_unit' and no accessible extension method 'compilation_unit' accepting a first argument of type 'CSharpPreprocessorParser' could be found (are you missing a using directive or an assembly reference?)
build: _tests/grammars-v4/csharp/Generated-CSharp/Test.cs#L327
'MyParser' does not contain a definition for 'compilation_unit' and no accessible extension method 'compilation_unit' accepting a first argument of type 'MyParser' could be found (are you missing a using directive or an assembly reference?)
build: _tests/grammars-v4/csharp/Generated-CSharp/Test.cs#L52
'CSharpPreprocessorParser' does not contain a definition for 'compilation_unit' and no accessible extension method 'compilation_unit' accepting a first argument of type 'CSharpPreprocessorParser' could be found (are you missing a using directive or an assembly reference?)
build: _tests/grammars-v4/csharp/Generated-CSharp/Test.cs#L62
'CSharpPreprocessorParser' does not contain a definition for 'compilation_unit' and no accessible extension method 'compilation_unit' accepting a first argument of type 'CSharpPreprocessorParser' could be found (are you missing a using directive or an assembly reference?)
build: _tests/grammars-v4/csharp/Generated-CSharp/Test.cs#L121
'CSharpPreprocessorParser' does not contain a definition for 'compilation_unit' and no accessible extension method 'compilation_unit' accepting a first argument of type 'CSharpPreprocessorParser' could be found (are you missing a using directive or an assembly reference?)
build: _tests/grammars-v4/csharp/Generated-CSharp/Test.cs#L327
'MyParser' does not contain a definition for 'compilation_unit' and no accessible extension method 'compilation_unit' accepting a first argument of type 'MyParser' could be found (are you missing a using directive or an assembly reference?)
build
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: src/tritext/BuildHistogram.cs#L33
The field 'BuildHistogram.xxxxxxx' is assigned but its value is never used
build: src/tranalyze/Command.cs#L138
The variable 'name' is assigned but its value is never used
build: src/trxgrep/Command.cs#L35
The variable 'text' is declared but never used
build: src/grammars/bison/Generated-CSharp/BisonLexer.g4#L452
warning(131): BisonLexer.g4:452:15: greedy block ()+ contains wildcard; the non-greedy syntax ()+? may be preferred
build: src/trgen/Command.cs#L527
Unreachable code detected
build: src/tritext/BuildHistogram.cs#L33
The field 'BuildHistogram.xxxxxxx' is assigned but its value is never used
build: src/tranalyze/Command.cs#L138
The variable 'name' is assigned but its value is never used
build: src/trxgrep/Command.cs#L35
The variable 'text' is declared but never used
build: src/grammars/bison/Generated-CSharp/BisonLexer.g4#L452
warning(131): BisonLexer.g4:452:15: greedy block ()+ contains wildcard; the non-greedy syntax ()+? may be preferred
build: src/trgen/Command.cs#L527
Unreachable code detected
build: _tests/basic-trees/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build: _tests/basic-trees/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build: _tests/grammars-v4/http/Generated-CSharp/obj/Debug/net8.0/httpParser.cs#L41
'httpParser.Equals' hides inherited member 'object.Equals(object?)'. Use the new keyword if hiding was intended.
build: _tests/grammars-v4/http/Generated-CSharp/obj/Debug/net8.0/httpLexer.cs#L38
'httpLexer.Equals' hides inherited member 'object.Equals(object?)'. Use the new keyword if hiding was intended.
build: _tests/grammars-v4/http/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build: _tests/grammars-v4/http/Generated-CSharp/obj/Debug/net8.0/httpParser.cs#L41
'httpParser.Equals' hides inherited member 'object.Equals(object?)'. Use the new keyword if hiding was intended.
build: _tests/grammars-v4/http/Generated-CSharp/obj/Debug/net8.0/httpLexer.cs#L38
'httpLexer.Equals' hides inherited member 'object.Equals(object?)'. Use the new keyword if hiding was intended.
build: _tests/grammars-v4/http/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build: _tests/grammars-v4/csharp/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build: _tests/grammars-v4/csharp/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used