Comments (2)
@q-danpryer i made the change but please keep in mind that syntax printing in scalameta is not designed nor intended to be beautiful, aesthetic or even human-readable. usually people don't read generated code.
as to scalafmt, it should remove them if you configure correctly, but how (and why) do you run scalafmt on generated code?
from scalameta.
Hey @kitbellew , thanks for the very speedy turnaround/fix on that one! Appreciate that its just generated code that people don't usually look at, it was more of a nice to have.
I didn't think scalafmt was necessarily involved, I was just scratching my head a bit as to why this was happening or what could be the cause.
from scalameta.
Related Issues (20)
- SNAPSHOT: Term.Interpolate args are now wrapped in a Term.Block HOT 5
- `failed to generate semanticdb` with Scala 2.13.13 under Xsource:3 HOT 4
- [4.9.1] illegal start of simple expression
- support SIP 53 in parser HOT 1
- escaped values on their own line cause erroneous compilation error HOT 3
- Fix parsing of backquoted syntax-like identifiers
- contrib DocToken parser bug (`@return` vs `@returns`) HOT 2
- OutOfMemoryError since 4.9.0 HOT 4
- When I define a Float with value 3.4028235e38f and run scalafmt, an error occurs.
- Parsing fails in presence of significant space pattern match as a non-last parameter HOT 4
- return `Type.AnonymousParam(None)` if type name endsWith `*` HOT 2
- apply more stringent scalafmt formatting
- ScalametaParser: pos for trailing comments on multi-line expression inconsistent from one dialect to another HOT 10
- can't fmt scal with `\ud801`,which actually is `?` HOT 6
- Please publish for Scala 2.13.14
- Parser fails when multiline and one condition wrapped in parenthesis
- Move scalapb to semanticdb HOT 1
- Init Seq vs List ambiguous overload HOT 1
- Term.Anonymous multiple inheritance HOT 6
- Type apply after block fails to parse
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 scalameta.