-
Notifications
You must be signed in to change notification settings - Fork 185
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
ExplicitResultTypes don't rewrite implicit members of local traits #1180
Comments
In fact, class C {
def g(): Unit = {
implicit val i = 1
}
} |
giabao
added a commit
to giabao/scalafix
that referenced
this issue
Jun 27, 2020
giabao
added a commit
to giabao/scalafix
that referenced
this issue
Jun 27, 2020
…implicits in Templates
giabao
added a commit
to ohze/scalafix-rules
that referenced
this issue
Jun 27, 2020
mlachkar
added a commit
that referenced
this issue
Jul 2, 2020
Fix #1180 - ExplicitResultTypes for implicit members of local traits
mlachkar
added a commit
that referenced
this issue
Jul 2, 2020
mlachkar
pushed a commit
to mlachkar/scalafix
that referenced
this issue
Jul 2, 2020
mlachkar
pushed a commit
to mlachkar/scalafix
that referenced
this issue
Jul 2, 2020
mlachkar
pushed a commit
to mlachkar/scalafix
that referenced
this issue
Jul 2, 2020
mlachkar
pushed a commit
to mlachkar/scalafix
that referenced
this issue
Jul 2, 2020
mlachkar
pushed a commit
to mlachkar/scalafix
that referenced
this issue
Jul 2, 2020
…implicits in Templates
mlachkar
pushed a commit
to mlachkar/scalafix
that referenced
this issue
Jul 2, 2020
mlachkar
pushed a commit
to mlachkar/scalafix
that referenced
this issue
Jul 2, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Input
Output
Two
implicit val i = 1
above are not rewritten.Expectation
Should rewrite to
implicit val i: Int = 1
because the code above don't compile in dotty.I test with dotty 0.24.0 and 0.25.0-RC2 => error:
type of implicit definition needs to be given explicitly
.The text was updated successfully, but these errors were encountered: