From 8cc477f8b6fd81c45fe30ac454c021a9769911ad Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Sun, 7 Jun 2009 11:13:47 +0000 Subject: fixed BeanProperty, added BooleanBeanProperty, ... fixed BeanProperty, added BooleanBeanProperty, added many tests (#1029, #1751, #294, #1942, #1782, #1788, #637). --- test/files/pos/t1029/Test_1.scala | 7 +++++++ test/files/pos/t1029/Test_2.scala | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 test/files/pos/t1029/Test_1.scala create mode 100644 test/files/pos/t1029/Test_2.scala (limited to 'test/files/pos/t1029') diff --git a/test/files/pos/t1029/Test_1.scala b/test/files/pos/t1029/Test_1.scala new file mode 100644 index 0000000000..e828087f2c --- /dev/null +++ b/test/files/pos/t1029/Test_1.scala @@ -0,0 +1,7 @@ +class ann(a: Array[Int]) extends StaticAnnotation + +object Test1 { + // bug #1029 + @ann(Array(10, 2)) def u = () + val v: String @ann(Array(13, 2)) = "-1" +} diff --git a/test/files/pos/t1029/Test_2.scala b/test/files/pos/t1029/Test_2.scala new file mode 100644 index 0000000000..00589052cb --- /dev/null +++ b/test/files/pos/t1029/Test_2.scala @@ -0,0 +1,3 @@ +object Test { + val t = Test1 +} -- cgit v1.2.3