diff options
author | Martin Odersky <odersky@gmail.com> | 2010-04-12 11:52:39 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2010-04-12 11:52:39 +0000 |
commit | cfe47e4b74cc166af31cc130b0830112c46bdc61 (patch) | |
tree | 7716cb0c8cb0179f0b09328779e0c2ac06621025 /test/files/neg/t3224.check | |
parent | bed1ffb1c357e09c05ea6a58bd19a75510f1822e (diff) | |
download | scala-cfe47e4b74cc166af31cc130b0830112c46bdc61.tar.gz scala-cfe47e4b74cc166af31cc130b0830112c46bdc61.tar.bz2 scala-cfe47e4b74cc166af31cc130b0830112c46bdc61.zip |
Closes #3224. Review by retronym.
Diffstat (limited to 'test/files/neg/t3224.check')
-rw-r--r-- | test/files/neg/t3224.check | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t3224.check b/test/files/neg/t3224.check new file mode 100644 index 0000000000..de196f15be --- /dev/null +++ b/test/files/neg/t3224.check @@ -0,0 +1,6 @@ +/home/odersky/workspace/scala/test/files/neg/t3224.scala:29: error: polymorphic expression cannot be instantiated to expected type; + found : [T]Array[T] + required: List[?] + println(Texts textL Array()); println(Texts textL Array(1)); println(Texts textL Array(1, 1)) + ^ +one error found |