diff options
Diffstat (limited to 'test/pending/run/t1980.scala')
-rw-r--r-- | test/pending/run/t1980.scala | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/pending/run/t1980.scala b/test/pending/run/t1980.scala index 67cb3ada9e..38353c6270 100644 --- a/test/pending/run/t1980.scala +++ b/test/pending/run/t1980.scala @@ -1,9 +1,9 @@ -by-name argument incorrectly evaluated on :-ending operator -Reported by: extempore Owned by: odersky -Priority: normal Component: Compiler -Keywords: Cc: paulp@… -Fixed in version: -Description +// by-name argument incorrectly evaluated on :-ending operator +// Reported by: extempore Owned by: odersky +// Priority: normal Component: Compiler +// Keywords: Cc: paulp@… +// Fixed in version: +// Description scala> def foo() = { println("foo") ; 5 } foo: ()Int @@ -19,9 +19,9 @@ scala> c m1 foo() scala> foo() m2_: c foo -But it is not evaluated if invoked directly: +// But it is not evaluated if invoked directly: scala> c.m2_:(foo()) -scala> +// scala> |