summaryrefslogtreecommitdiff
path: root/test/files/neg/t6436.check
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2012-10-04 13:38:11 +0200
committerGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2012-10-04 13:38:11 +0200
commit1393baf83bc284e0e2360f2fdc79cc7e400d2320 (patch)
tree7b7708ec1fe7ce6374972c1bec47b31476cd6a85 /test/files/neg/t6436.check
parent5b9af1b9ff327e8efa2c8b6e8b9ed8d3cdf2598e (diff)
parentd924ef9bce3fb47b590474d04aa3f8aee570958d (diff)
downloadscala-1393baf83bc284e0e2360f2fdc79cc7e400d2320.tar.gz
scala-1393baf83bc284e0e2360f2fdc79cc7e400d2320.tar.bz2
scala-1393baf83bc284e0e2360f2fdc79cc7e400d2320.zip
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