summaryrefslogtreecommitdiff
path: root/test/files/neg/t6436.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-10-08 07:28:35 -0700
committerPaul Phillips <paulp@improving.org>2012-10-08 07:28:35 -0700
commit7359c79cb1e29158e2e1f992c6359d3e2244702e (patch)
tree7b7708ec1fe7ce6374972c1bec47b31476cd6a85 /test/files/neg/t6436.check
parent5b9af1b9ff327e8efa2c8b6e8b9ed8d3cdf2598e (diff)
parent1393baf83bc284e0e2360f2fdc79cc7e400d2320 (diff)
downloadscala-7359c79cb1e29158e2e1f992c6359d3e2244702e.tar.gz
scala-7359c79cb1e29158e2e1f992c6359d3e2244702e.tar.bz2
scala-7359c79cb1e29158e2e1f992c6359d3e2244702e.zip
Merge pull request #1462 from gkossakowski/2.10.x
Merge remote-tracking branch 'scala/2.10.0-wip' into 2.10.x
Diffstat (limited to 'test/files/neg/t6436.check')
-rw-r--r--test/files/neg/t6436.check10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/neg/t6436.check b/test/files/neg/t6436.check
new file mode 100644
index 0000000000..ecb28f9100
--- /dev/null
+++ b/test/files/neg/t6436.check
@@ -0,0 +1,10 @@
+t6436.scala:8: error: type mismatch;
+ found : StringContext
+ required: ?{def q: ?}
+Note that implicit conversions are not applicable because they are ambiguous:
+ both method foo1 in object quasiquotes of type (ctx: StringContext)Object{def q: Nothing}
+ and method foo2 in object quasiquotes of type (ctx: StringContext)Object{def q: Nothing}
+ are possible conversion functions from StringContext to ?{def q: ?}
+ println(q"a")
+ ^
+one error found