diff options
Diffstat (limited to 'test/files/neg/t8849.check')
-rw-r--r-- | test/files/neg/t8849.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t8849.check b/test/files/neg/t8849.check new file mode 100644 index 0000000000..1d5b4164b2 --- /dev/null +++ b/test/files/neg/t8849.check @@ -0,0 +1,7 @@ +t8849.scala:8: error: ambiguous implicit values: + both lazy value global in object Implicits of type => scala.concurrent.ExecutionContext + and value dummy of type scala.concurrent.ExecutionContext + match expected type scala.concurrent.ExecutionContext + require(implicitly[ExecutionContext] eq dummy) + ^ +one error found |