[#698] | project: compiler | priority: low | category: bug | |
---|---|---|---|---|
submitter | assigned to | status | date submitted | |
Nikolay | Martin | fixed | 2006-08-14 13:41:33.0 | |
subject | [contrib #172] Can no longer implement abstract vals with objects | |||
code |
abstract class Foo { val x : Bar } abstract class Bar object Test extends Foo { object x extends Bar } |
|||
what happened | /home/jwebb/tests/test.scala:11 error: error overriding value x in class Foo of type => Bar; object x has incompatible type object x extends Bar ^ one error found |
|||
what expected | Silent compile. This compiled with Scala 2.1.6. | |||
[back to overview] |
Nikolay edited on 2006-08-14 13:42:40.0 |
Transferred from contribution #172 |
Martin edited on 2006-08-14 17:54:49.0 |