diff options
author | Paul Phillips <paulp@improving.org> | 2013-01-14 23:29:50 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-01-26 11:19:36 -0800 |
commit | 801eab55019c433d2fa6a925d02e41b1c47cbf22 (patch) | |
tree | 2b7d5351cb87a9b20a02b3f09ea05c00e8c88dbc /test/files/neg/t5182.check | |
parent | 832fc9a67e5aa85bdde61883527d3ac9554094d7 (diff) | |
download | scala-801eab55019c433d2fa6a925d02e41b1c47cbf22.tar.gz scala-801eab55019c433d2fa6a925d02e41b1c47cbf22.tar.bz2 scala-801eab55019c433d2fa6a925d02e41b1c47cbf22.zip |
SI-5182, no position on annotation error.
Now there's a position on the synthetic "value" Ident.
Diffstat (limited to 'test/files/neg/t5182.check')
-rw-r--r-- | test/files/neg/t5182.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t5182.check b/test/files/neg/t5182.check new file mode 100644 index 0000000000..3161f92680 --- /dev/null +++ b/test/files/neg/t5182.check @@ -0,0 +1,7 @@ +t5182.scala:2: error: unknown annotation argument name: qwe + @java.lang.Deprecated(qwe = "wer") def ok(q:Int) = 1 + ^ +t5182.scala:3: error: classfile annotation arguments have to be supplied as named arguments + @java.lang.Deprecated("wer") def whereAmI(q:Int) = 1 + ^ +two errors found |