Comments (3)
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.
from crlfmt.
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
from crlfmt.
We did not fork all of it. Only some internal components used to prtty-print the AST of the code (to reformat it).
from crlfmt.
Related Issues (14)
- lint for unnecessary import aliases
- Add format-only mode HOT 1
- function name formatter can't count columns
- Create wrapper that also calls `goimports` HOT 1
- Default `-tab` to 2
- Support goimports `-srcdir` flag=
- bad formatting for inline comment for return value HOT 1
- tests don't pass HOT 3
- Function declaration wrapping preservers incorrect newlines
- crlfmt doesn't let me wrap function calls at less than 100 chars HOT 1
- crlfmt strips comments HOT 3
- panic: runtime error: invalid memory address or nil pointer dereference HOT 1
- crlfmt wants a 101-characters line HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crlfmt.