From 0bc0b0bbc65c4ece2be76c62c1dea58d4358a4d4 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 22 May 2008 13:00:42 +0000 Subject: fixed #911. Added comments to <~ and ~> methods. --- test/files/run/t0911.scala | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/files/run/t0911.scala (limited to 'test/files/run/t0911.scala') diff --git a/test/files/run/t0911.scala b/test/files/run/t0911.scala new file mode 100644 index 0000000000..f4d93eb571 --- /dev/null +++ b/test/files/run/t0911.scala @@ -0,0 +1,9 @@ +class Foo(val bar : () => String); + +class IP extends { + val baz = "bar"; +} with Foo(() => baz); + +object Main extends Application{ + (new IP).bar(); +} -- cgit v1.2.3