summaryrefslogtreecommitdiff
path: root/test/files/jvm/annotations.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2012-05-02 16:33:59 +0200
committerLukas Rytz <lukas.rytz@epfl.ch>2012-05-02 16:45:48 +0200
commit24b62e616ba2d18eee0a3bbffaf5c76abc6cc4b6 (patch)
tree09ea38f75b73aa95d17fd3a97e90a9067b80cd2b /test/files/jvm/annotations.scala
parent90d2bee45b25844f809f8c5300aefcb1bfe9e336 (diff)
downloadscala-24b62e616ba2d18eee0a3bbffaf5c76abc6cc4b6.tar.gz
scala-24b62e616ba2d18eee0a3bbffaf5c76abc6cc4b6.tar.bz2
scala-24b62e616ba2d18eee0a3bbffaf5c76abc6cc4b6.zip
fix SI-5682
Diffstat (limited to 'test/files/jvm/annotations.scala')
-rw-r--r--test/files/jvm/annotations.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/files/jvm/annotations.scala b/test/files/jvm/annotations.scala
index b1c3c8ba40..66ebde592b 100644
--- a/test/files/jvm/annotations.scala
+++ b/test/files/jvm/annotations.scala
@@ -193,7 +193,9 @@ object Test6 {
val c = new C("bob")
c.setText("dylan")
println(c.getText())
- if (new D(true).isProp()) {
+ val d = new D(true)
+ d.setProp(false)
+ if (!d.isProp()) {
println(new D(false).getM())
}
}