8000 refactor(compiler): remove some duplicate code by andrewmbenton · Pull Request #2546 · sqlc-dev/sqlc · GitHub
[go: up one dir, main page]

Skip to content

refactor(compiler): remove some duplicate code #2546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 30, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(compiler): remove duplicate code
  • Loading branch information
andrewmbenton committed Jul 30, 2023
commit 0bc7472d31d3a644480a82339a41db6d377b5a2e
5 changes: 0 additions & 5 deletions internal/compiler/compat.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ func stringSlice(list *ast.List) []string {
for _, item := range list.Items {
if n, ok := item.(*ast.String); ok {
items = append(items, n.Str)
continue
}
if n, ok := item.(*ast.String); ok {
items = append(items, n.Str)
continue
}
}
return items
Expand Down
0