diff options
Diffstat (limited to 'test/files/neg/t9527a.check')
-rw-r--r-- | test/files/neg/t9527a.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t9527a.check b/test/files/neg/t9527a.check new file mode 100644 index 0000000000..e756518bed --- /dev/null +++ b/test/files/neg/t9527a.check @@ -0,0 +1,7 @@ +t9527a.scala:5: error: ambiguous implicit values: + both method f in class C of type (x: Int)String + and method g in class C of type (x: Int)String + match expected type Int => String + implicitly[Int => String] + ^ +one error found |