Skip to content

refactor: change Node pointers to values #38

refactor: change Node pointers to values

refactor: change Node pointers to values #38

Triggered via pull request November 10, 2024 02:32
Status Failure
Total duration 45s
Artifacts

ci.yml

on: pull_request
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

14 errors
build-and-test (macos-latest): node_test.go#L169
cannot use nullNode (variable of type *tree_sitter.Node) as tree_sitter.Node value in argument to tree.RootNode().ChildWithDescendant
build-and-test (macos-latest): node_test.go#L170
cannot use nullNode (variable of type *tree_sitter.Node) as tree_sitter.Node value in argument to arrayNode.ChildWithDescendant
build-and-test (macos-latest): node_test.go#L171
cannot use nullNode (variable of type *tree_sitter.Node) as tree_sitter.Node value in argument to objectNode.ChildWithDescendant
build-and-test (macos-latest): node_test.go#L172
cannot use nullNode (variable of type *tree_sitter.Node) as tree_sitter.Node value in argument to pairNode.ChildWithDescendant
build-and-test (macos-latest): node_test.go#L173
cannot use nullNode (variable of type *tree_sitter.Node) as tree_sitter.Node value in argument to nullNode.ChildWithDescendant
build-and-test (macos-latest): node_test.go#L250
cannot call pointer method NamedChild on tree_sitter.Node
build-and-test (macos-latest): node_test.go#L276
cannot use block (variable of type *tree_sitter.Node) as tree_sitter.Node value in argument to root.ChildContainingDescendant
build-and-test (macos-latest): node_test.go#L277
cannot use block (variable of type *tree_sitter.Node) as tree_sitter.Node value in argument to functionDefinition.ChildContainingDescendant
build-and-test (macos-latest): node_test.go#L409
cannot use nullNode (variable of type *tree_sitter.Node) as tree_sitter.Node value in argument to tree.RootNode().ChildContainingDescendant
build-and-test (macos-latest): node_test.go#L410
cannot use nullNode (variable of type *tree_sitter.Node) as tree_sitter.Node value in argument to arrayNode.ChildContainingDescendant
build-and-test (windows-latest)
The job was canceled because "macos-latest" failed.
build-and-test (windows-latest)
The operation was canceled.
build-and-test (ubuntu-latest)
The job was canceled because "macos-latest" failed.
build-and-test (ubuntu-latest)
The operation was canceled.