Open Sporarum opened 1 year ago
This issue was picked for the Issue Spree No. 27 of 07 March 2023 which takes place in a week from now. @Sporarum, @KuceraMartin, @mprzysucha will be working on it. If you have any insight into the issue or guidance on how to fix it, please leave it here.
Hello everyone, I'm preparing some preliminaries for the spree For this purpose, I opened a branch on dotty staging: fix-i16676
From what I have seen so far, there seems to be a high likelihood that this is an issue with Mdoc and not an issue with the compiler, as for example:
polyfunction: Nothing
Correctly prints out [T] => (x: T) => T
in the narrowing error message:
The only places I have been able to replicate the issue is in scastie and in metals worksheets which both use Mdoc
Opened issue on Mdoc
Removing the Spree label as @Sporarum is assigned to this issue.
As this seems not to be an issue with Mdoc in the end, more exploration is needed, I will therefore put it back as a Spree issue
Reasons for why it is probably not Mdoc can be found here: https://github.com/scalameta/mdoc/issues/758
Compiler version
Scala 3.2.0 / 3.2.1-RC2
Minimized example & Output
https://scastie.scala-lang.org/9VXAH9QKTyeSYE8UYdV5eQ
Expectation
It's not that bad for Function1, but for polymorphic functions, it's really hard to parse, especially to newcomers !