summaryrefslogtreecommitdiff
path: root/test/files/run/t6434.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-6434 Pretty print function types with by name arg as (=> A) => BJames Iry2013-01-231-0/+8
We were pretty printing a function type with one by name arg as => A => B, but because => is right associative that's formally equivalent to => (A => B) and that's entirely a different thing. This commit changes the pretty printer in Typers.scala to check for a byname argument on a function type and wrap it in parens. A REPL test is included.