We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discussion at https://groups.google.com/d/msg/scala-internals/6vemF4hOA9A/tsouPjHDO_AJ
scala> trait Foo { def foo: Option[String] } defined trait Foo scala> trait Bar extends Foo { def foo = Some("bar") } defined trait Bar scala> trait Baz extends Bar { override def foo: Option[String] = Some("baz") } <console>:9: error: overriding method foo in trait Bar of type => Some[String]; method foo has incompatible type trait Baz extends Bar { override def foo: Option[String] = Some("baz") } ^
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-7873?orig=1 Reporter: @som-snytt Affected Versions: 2.11.0-M5
Sorry, something went wrong.
@paulp said: FYI this is #7212.
@adriaanm said: See #7212
No branches or pull requests
Discussion at https://groups.google.com/d/msg/scala-internals/6vemF4hOA9A/tsouPjHDO_AJ
The text was updated successfully, but these errors were encountered: