Skip to content

Refactor formatting #236

Refactor formatting

Refactor formatting #236

Triggered via pull request December 20, 2023 23:56
Status Failure
Total duration 2m 0s
Artifacts

release.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
goreleaser: internal/formatter/formatter.go#L36
cannot use EvalTrailingWhitespace(parsed, newFormatEnvironment(params.Options)) (type "github.com/lighttiger2505/sqls/ast".Node) as type "github.com/sqls-server/sqls/ast".Node in assignment:
goreleaser: internal/formatter/formatter.go#L36
cannot use parsed (type "github.com/sqls-server/sqls/ast".TokenList) as type "github.com/lighttiger2505/sqls/ast".Node in argument to EvalTrailingWhitespace:
goreleaser: internal/formatter/whitespace.go#L16
undefined: "github.com/lighttiger2505/sqls/ast".TypeIndent
goreleaser: internal/formatter/whitespace.go#L22
undefined: "github.com/lighttiger2505/sqls/ast".TypeLineBreak
goreleaser: internal/formatter/whitespace.go#L31
undefined: "github.com/lighttiger2505/sqls/ast".TypeLineBreak
goreleaser: internal/formatter/whitespace.go#L85
undefined: "github.com/lighttiger2505/sqls/ast".Formatted
goreleaser: internal/formatter/whitespace.go#L89
undefined: "github.com/lighttiger2505/sqls/ast/astutil".NewNodeReaderInc
goreleaser: internal/formatter/whitespace.go#L90
undefined: "github.com/lighttiger2505/sqls/ast/astutil".NewNodeReaderInc
goreleaser: internal/formatter/whitespace.go#L91
undefined: "github.com/lighttiger2505/sqls/ast/astutil".NewNodeReaderInc
goreleaser: internal/formatter/whitespace.go#L92
undefined: "github.com/lighttiger2505/sqls/ast/astutil".NewNodeReaderInc