diff options
author | Paul Phillips <paulp@improving.org> | 2012-01-12 09:17:26 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-01-12 10:06:00 -0800 |
commit | ccb590c0378819011640a58b822fbdeb938144dc (patch) | |
tree | 6b92649121c4fdbfe851d266a5002d8eb892ff34 /test/files/neg/t0003.check | |
parent | 15372027c762b18bccf231b9810e9db3415e7f5a (diff) | |
download | scala-ccb590c0378819011640a58b822fbdeb938144dc.tar.gz scala-ccb590c0378819011640a58b822fbdeb938144dc.tar.bz2 scala-ccb590c0378819011640a58b822fbdeb938144dc.zip |
Disambiguate some type printing.
Functions of functions use parens for grouping.
Diffstat (limited to 'test/files/neg/t0003.check')
-rw-r--r-- | test/files/neg/t0003.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t0003.check b/test/files/neg/t0003.check index 1913dde9dd..8bab55db3f 100644 --- a/test/files/neg/t0003.check +++ b/test/files/neg/t0003.check @@ -1,5 +1,5 @@ t0003.scala:2: error: type mismatch; - found : A => B => B + found : A => (B => B) required: A => B def foo[A, B, C](l: List[A], f: A => B=>B, g: B=>B=>C): List[C] = l map (g compose f) ^ |