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

Treat defn.macro like defn.def #149

Closed
olafurpg opened this issue Apr 13, 2016 · 1 comment
Closed

Treat defn.macro like defn.def #149

olafurpg opened this issue Apr 13, 2016 · 1 comment

Comments

@olafurpg
Copy link
Member

Reported by @lihaoyi in Gitter.

Original:

def callMain [T] (t: T): T = macro callMainImpl[T]

Scalafmt:

def callMain [T] (t: T): T = macro callMainImpl[T]

I would like the input to look like this:

def callMain[T](t: T): T = macro callMainImpl[T]

Using

  • 0.2.0
@lihaoyi
Copy link

lihaoyi commented Apr 14, 2016

yay

On Thursday, 14 April 2016, Ólafur Páll Geirsson notifications@github.com
wrote:

Closed #149 https://github.com/olafurpg/scalafmt/issues/149 via d272b0a
olafurpg@d272b0a
.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/olafurpg/scalafmt/issues/149#event-627048366

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

No branches or pull requests

2 participants