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
Scala: Parse by name types in function arguments #4178
Conversation
PA-158 [Scala] Parsing error
Describe the bug
Code: import org.slf4j.{Logger, LoggerFactory, MDC}
import zio.FiberRef
import scala.jdk.CollectionConverters._
object Logging {
trait Service {
}
}
class Slf4jLogger(logger: (=> AnyRef) => Logger, mdcContext: FiberRef[Map[String, String]]) extends Logging.Service {
val sync = 123
}
object Main extends App {
println("Hq")
} To Reproduce Expected behavior What is the priority of the bug to you?
Environment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woohoo!
Do you know how much it improves our parsing stats for Scala? |
We went from 89.6 to 90.0, so not massive, but measurable. |
We can now parse types like
(=> Int) => Int
Test plan: make test (see added test)
PR checklist: