diff options
author | Dmitry Petrashko <dark@d-d.me> | 2014-12-31 15:14:25 +0100 |
---|---|---|
committer | Dmitry Petrashko <dark@d-d.me> | 2014-12-31 15:14:25 +0100 |
commit | 344b055e23ceea6fd57d6240f5dda732e41028bd (patch) | |
tree | ede7b173791fc5bee987b720e57739ccda4a81de /tests/pos/annot-bootstrap.scala | |
parent | 7b5d1b161009e76badaefd7a83ff243d6096498e (diff) | |
parent | 43fefd527e3ec424a6b1232aed63b50dd6a71342 (diff) | |
download | dotty-344b055e23ceea6fd57d6240f5dda732e41028bd.tar.gz dotty-344b055e23ceea6fd57d6240f5dda732e41028bd.tar.bz2 dotty-344b055e23ceea6fd57d6240f5dda732e41028bd.zip |
Merge pull request #310 from dotty-staging/fix/#305-annot-bootstrap
Fix/#305 annot bootstrap
Diffstat (limited to 'tests/pos/annot-bootstrap.scala')
-rw-r--r-- | tests/pos/annot-bootstrap.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/pos/annot-bootstrap.scala b/tests/pos/annot-bootstrap.scala new file mode 100644 index 000000000..bef877dcd --- /dev/null +++ b/tests/pos/annot-bootstrap.scala @@ -0,0 +1,8 @@ +package scala.annotation.unchecked + +// note: if the case class is not inside an object, the error disappears +object test { + case class L(a: Int) +} + +final class uncheckedVariance extends scala.annotation.StaticAnnotation {} |