Skip to content
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

Does not build on go1.11 after 0.61 #6853

Closed
XANi opened this issue Feb 4, 2020 · 0 comments
Closed

Does not build on go1.11 after 0.61 #6853

XANi opened this issue Feb 4, 2020 · 0 comments

Comments

@XANi
Copy link

@XANi XANi commented Feb 4, 2020

According to docs on main page, Go 1.11 is minimum. I have tried to build it with Debian's current version (1.11.6) and get

-> ᛯ go install                                    
# github.com/gohugoio/hugo/tpl/internal/go_templates/fmtsort
tpl/internal/go_templates/fmtsort/sort.go:58:18: mapValue.MapRange undefined (type reflect.Value has no field or method MapRange)
note: module requires Go 1.12    

I have bisected it and the offending commit is 167c015 and the preceding 4c80431 is last working version. It appears that the forked template module was from later go version ?

@bep bep closed this in 23ea431 Feb 4, 2020
@fmotrifork fmotrifork mentioned this issue Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.