diff options
Diffstat (limited to 'tests/pending/pos/t4237.scala')
-rw-r--r-- | tests/pending/pos/t4237.scala | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/pending/pos/t4237.scala b/tests/pending/pos/t4237.scala deleted file mode 100644 index 44bc81462..000000000 --- a/tests/pending/pos/t4237.scala +++ /dev/null @@ -1,6 +0,0 @@ -class A { - (new { def field = 0; def field_=(i: Int) = () }).field = 5 // compiles as expected - (new { def field(implicit i: Int) = 0; def field_=(i: Int) = () }).field = 5 // compiles even with implicit params on getter - (new { def field = 0; def field_=[T](i: Int) = () }).field = 5 // compiles with type param on setter - (new { def field[T] = 0; def field_=(i: Int) = () }).field = 5 // DOESN'T COMPILE -} |