summaryrefslogtreecommitdiff
path: root/test-nsc/files/run/Course-2002-06.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2005-12-14 17:01:30 +0000
committerIulian Dragos <jaguarul@gmail.com>2005-12-14 17:01:30 +0000
commit6eef38afc1eb6ffb7eda604607009ca154d5831d (patch)
tree936485b9ed26406853b34b7360fd4c365c1c8c4a /test-nsc/files/run/Course-2002-06.scala
parent79c0c5404daf502157e4c5788f774fafc53dab91 (diff)
downloadscala-6eef38afc1eb6ffb7eda604607009ca154d5831d.tar.gz
scala-6eef38afc1eb6ffb7eda604607009ca154d5831d.tar.bz2
scala-6eef38afc1eb6ffb7eda604607009ca154d5831d.zip
Updated test files to reflex syntax changes and...
Updated test files to reflex syntax changes and added test in try.scala.
Diffstat (limited to 'test-nsc/files/run/Course-2002-06.scala')
-rw-r--r--test-nsc/files/run/Course-2002-06.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-nsc/files/run/Course-2002-06.scala b/test-nsc/files/run/Course-2002-06.scala
index 76bd581a73..df73daa08f 100644
--- a/test-nsc/files/run/Course-2002-06.scala
+++ b/test-nsc/files/run/Course-2002-06.scala
@@ -168,14 +168,14 @@ object M0 {
/** Flip the painter vertically
*/
- def flipVert =
+ def flipVert: Painter => Painter =
transformPainter(new Vector(0.0, 1.0),
new Vector(1.0, 1.0),
new Vector(0.0, 0.0));
/** Flip the painter horizontally
*/
- def flipHoriz =
+ def flipHoriz: Painter => Painter =
transformPainter(new Vector(1.0, 0.0),
new Vector(0.0, 0.0),
new Vector(1.0, 1.0));