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/pos/t0905.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/pos/t0905.scala (limited to 'test/files/pos') diff --git a/test/files/pos/t0905.scala b/test/files/pos/t0905.scala new file mode 100644 index 0000000000..8cd84759cf --- /dev/null +++ b/test/files/pos/t0905.scala @@ -0,0 +1,6 @@ +object Test { + trait A[T] + def f(implicit p: A[T] forSome { type T } ) = null + implicit val x: A[T] forSome { type T } = null + println(f) +} -- cgit v1.2.3