We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given the two source files Direction.scala
package com.google.android.divideandconquer object Direction extends Enumeration { val Vertical, Horizontal = Value }
and package.scala
package com.google.android package object divideandconquer { type Direction = Direction.Value }
Scala 2.9.1.final just compiles fine BUT Scala 2.10.0-M1 generates the following error message:
Direction.scala:3: error: Companions 'type Direction' and 'object Direction' must be defined in same file: [..]
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-5422?orig=1 Reporter: @michelou Affected Versions: 2.10.0-M1 Duplicates #5031
Sorry, something went wrong.
@retronym said: Marking as a duplicate of #5031
No branches or pull requests
Given the two source files Direction.scala
and package.scala
Scala 2.9.1.final just compiles fine BUT Scala 2.10.0-M1 generates the following error message:
The text was updated successfully, but these errors were encountered: