diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-09-04 11:41:35 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-09-04 11:41:35 +1000 |
commit | a66f5df2bc7b56814bbd6f767a5bea198588d863 (patch) | |
tree | 5b2a046d4ee60ef6b83d6f7f64e4d9af8409723a /test/files/pos | |
parent | 266c2105d974ed423a8c6664fbba62553c51626d (diff) | |
parent | 984025b2bd15b343181aea9c00a50ac1cd721ca1 (diff) | |
download | scala-a66f5df2bc7b56814bbd6f767a5bea198588d863.tar.gz scala-a66f5df2bc7b56814bbd6f767a5bea198588d863.tar.bz2 scala-a66f5df2bc7b56814bbd6f767a5bea198588d863.zip |
Merge pull request #3932 from gourlaysama/wip/t8498
SI-8498 @compileTimeOnly should be aware of bridge methods.
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t8498.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t8498.scala b/test/files/pos/t8498.scala new file mode 100644 index 0000000000..6808c89051 --- /dev/null +++ b/test/files/pos/t8498.scala @@ -0,0 +1,6 @@ +import scala.annotation.compileTimeOnly + +class C(val s: String) extends AnyVal { + @compileTimeOnly("error") + def error = ??? +} |