Open scabug opened 12 years ago
Imported From: https://issues.scala-lang.org/browse/SI-5073?orig=1 Reporter: Luigi Plinge (rbj2001) Affected Versions: 2.9.0-1, 2.9.1 Duplicates #1980
@paulp said: This is essentially a duplicate of #1980 because they're both caused by the odd desugaring performed on right associative operations. Maybe I can get both.
I'll try to follow up in https://github.com/scala/scala/pull/7741 which possibly makes it worse if possible.
We get a compiler error when trying to partially apply a /: (left fold)
def f(xs: List[Int]) = (0 /: xs) _