[WIP] Retain comments in AST #10173
Annotations
10 errors and 1 warning
Test:
runtime/ast/variable_declaration_test.go#L74
unknown field DocString in struct literal of type VariableDeclaration
|
Test:
runtime/old_parser/declaration_test.go#L820
cannot use []ast.Comment{β¦} (value of type []ast.Comment) as []*ast.Comment value in struct literal
|
Test:
runtime/old_parser/declaration_test.go#L820
cannot use ast.NewComment(nil, []byte("/// Test")) (value of type *ast.Comment) as ast.Comment value in array or slice literal
|
Test:
runtime/old_parser/declaration_test.go#L860
cannot use []ast.Comment{β¦} (value of type []ast.Comment) as []*ast.Comment value in struct literal
|
Test:
runtime/old_parser/declaration_test.go#L861
cannot use ast.NewComment(nil, []byte("/// First line")) (value of type *ast.Comment) as ast.Comment value in array or slice literal
|
Test:
runtime/old_parser/declaration_test.go#L862
cannot use ast.NewComment(nil, []byte("/// Second line")) (value of type *ast.Comment) as ast.Comment value in array or slice literal
|
Test:
runtime/old_parser/declaration_test.go#L903
cannot use []ast.Comment{β¦} (value of type []ast.Comment) as []*ast.Comment value in struct literal
|
Test:
runtime/old_parser/declaration_test.go#L904
cannot use ast.NewComment(nil, []byte("/** Cool dogs.\n\n Cool cats!! */")) (value of type *ast.Comment) as ast.Comment value in array or slice literal
|
Test:
runtime/old_parser/declaration_test.go#L6886
cannot use []ast.Comment{β¦} (value of type []ast.Comment) as []*ast.Comment value in struct literal
|
Test:
runtime/old_parser/declaration_test.go#L6887
cannot use ast.NewComment(nil, []byte("/// noReturnNoBlock")) (value of type *ast.Comment) as ast.Comment value in array or slice literal
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading