diff options
Diffstat (limited to 'test/files/neg/t0015.check')
-rw-r--r-- | test/files/neg/t0015.check | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/neg/t0015.check b/test/files/neg/t0015.check new file mode 100644 index 0000000000..2979237c0a --- /dev/null +++ b/test/files/neg/t0015.check @@ -0,0 +1,11 @@ +t0015.scala:5: error: type mismatch; + found : () => Nothing + required: (Nothing) => ? + Nil.map(f _) + ^ +t0015.scala:21: error: type mismatch; + found : M + required: M.this.selfType + f[Int](self: selfType) + ^ +two errors found |