diff options
Diffstat (limited to 'tests/untried/neg/t2316.check')
-rw-r--r-- | tests/untried/neg/t2316.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/untried/neg/t2316.check b/tests/untried/neg/t2316.check new file mode 100644 index 000000000..fea174566 --- /dev/null +++ b/tests/untried/neg/t2316.check @@ -0,0 +1,7 @@ +t2316.scala:28: error: ambiguous implicit values: + both method T1FromT3 in object T1 of type (implicit t3: test.T3)test.T1 + and method T1FromT2 in object T1 of type (implicit t2: test.T2)test.T1 + match expected type test.T1 + val t1 = requireT1 + ^ +one error found |