Skip to content
New issue

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

VerifyError: X overrides final method Y #5105

Closed
scabug opened this issue Oct 21, 2011 · 3 comments
Closed

VerifyError: X overrides final method Y #5105

scabug opened this issue Oct 21, 2011 · 3 comments
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Oct 21, 2011

The following code generates the Verify Error. object Baz must exists, class Baz must not be a trait.

object Main {
  def main(args: Array[String]) {
    new foo.Bar
  }
}

package foo {
  trait Foo { def foo() {} }
  class Bar extends Baz with Foo
  
  abstract class Baz
  object Baz extends Foo
}

PS. This bug makes no sense to me, so i have no idea how to classify it.

@scabug
Copy link
Author

scabug commented Oct 21, 2011

Imported From: https://issues.scala-lang.org/browse/SI-5105?orig=1
Reporter: @lexn82
Affected Versions: 2.9.1

@scabug
Copy link
Author

scabug commented Oct 21, 2011

@paulp said:
It's already fixed, but I'll add a test.

@scabug
Copy link
Author

scabug commented Oct 21, 2011

Commit Message Bot (anonymous) said:
(extempore in r25873) Test case closes #5105, no review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants