From aa43994c9648183a81cba2557dc3188ef6ca341e Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 18 Aug 2008 14:53:44 +0000 Subject: corrected several problems with error reporting... corrected several problems with error reporting: positions checked twice, warnings masking errors. Refined solution of forward implicits without5 result type. --- test/pending/pos/t1131.scala | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 test/pending/pos/t1131.scala (limited to 'test/pending/pos/t1131.scala') diff --git a/test/pending/pos/t1131.scala b/test/pending/pos/t1131.scala new file mode 100755 index 0000000000..5ef980348d --- /dev/null +++ b/test/pending/pos/t1131.scala @@ -0,0 +1,4 @@ +trait A { self: Any { def p: Any } => + def f(b: => Unit) {} + f { p } +} -- cgit v1.2.3