Skip to content

Fix build - #732

Merged
zimbatm merged 2 commits into
numtide:mainfrom
jfly:fix-build
Sep 24, 2026
Merged

zimbatm merged 2 commits into
numtide:mainfrom
jfly:fix-build

Conversation

@jfly

@jfly jfly commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator

A couple of commits in here. I suggest reading them independently.

We recently merged numtide#726, which
pulled us from glob v0.2.3 → v1.0.0. That includes this big change
<gobwas/glob@c0ec127>,
which removed `type Glob` and introduced `type Pattern`. I can't find a
changelog or anything explaining this.

Before:

```
$ go build ./...
format/composite.go:30:24: undefined: glob.Glob
format/formatter.go:48:18: undefined: glob.Glob
format/formatter.go:49:18: undefined: glob.Glob
format/glob.go:10:46: undefined: glob.Glob
format/glob.go:11:23: undefined: glob.Glob
format/glob.go:25:44: undefined: glob.Glob
```

Now things compile =)
I believe we broke this in numtide#726,
which failed the update vendorHash workflow for some reason (I haven't
investigated why): https://github.com/numtide/treefmt/actions/runs/34345785806/job/102446934330
@zimbatm
zimbatm merged commit d68dddf into numtide:main Sep 24, 2026
5 checks passed
@jfly
jfly deleted the fix-build branch September 24, 2026 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants