From 24b62e616ba2d18eee0a3bbffaf5c76abc6cc4b6 Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Wed, 2 May 2012 16:33:59 +0200 Subject: fix SI-5682 --- test/files/jvm/annotations.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/files/jvm/annotations.scala') 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()) } } -- cgit v1.2.3