diff options
author | Martin Odersky <odersky@gmail.com> | 2008-08-18 14:53:44 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2008-08-18 14:53:44 +0000 |
commit | aa43994c9648183a81cba2557dc3188ef6ca341e (patch) | |
tree | 4fb2ee654c885db2cc549a7d8ebb1d7c20cdfbdd /test/pending/pos/t1131.scala | |
parent | 98ba45e4f615bdb6b04694b3e3099cb1029679ba (diff) | |
download | scala-aa43994c9648183a81cba2557dc3188ef6ca341e.tar.gz scala-aa43994c9648183a81cba2557dc3188ef6ca341e.tar.bz2 scala-aa43994c9648183a81cba2557dc3188ef6ca341e.zip |
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.
Diffstat (limited to 'test/pending/pos/t1131.scala')
-rwxr-xr-x | test/pending/pos/t1131.scala | 4 |
1 files changed, 4 insertions, 0 deletions
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 } +} |