Open Hades32 opened 2 years ago
crlfmt depends on a copy of some components from the go stdlib (in the repository cockroachdb/gostdlib) which are from go 1.13, and these have changed in go 1.18 enough that they are not any more compatible.
we need to update our copy of the internal components to 1.18 too. In the meantime perhaps you can try building crlfmt using go 1.17 or earlier.
Thanks @knz, I think I'll just wait then.
Would you mind sharing why you had to fork the stdlib? That's pretty wild :D
We did not fork all of it. Only some internal components used to prtty-print the AST of the code (to reformat it).
I get a panic when trying to format my code: