Created
October 19, 2012 07:50
-
-
Save jrudolph/3916794 to your computer and use it in GitHub Desktop.
Regression bug in Scala 2.10.0-RC1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/.idea/ | |
target/ | |
lib_managed/ | |
src_managed/ | |
test-output/ | |
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.example | |
object Main extends App { | |
println(foo.bar.Foo.bar) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sbt.version=0.12.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package foo.bar | |
object Foo { | |
def bar = 42 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package foo.bar | |
object Foo { | |
def bar = 42 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package foo | |
package object bar { | |
type Foo = Int => String | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.example | |
object Main extends App { | |
println(foo.bar.Foo.bar) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package foo | |
package object bar { | |
type Foo = Int => String | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sbt.version=0.12.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._ | |
import sbt.Keys._ | |
object ScalaProjectBuild extends Build { | |
lazy val root = | |
Project("root", file(".")) | |
.aggregate(lib, app) | |
lazy val lib = | |
Project("lib", file("lib")) | |
.settings(scalaVersion := "2.10.0-RC1") | |
lazy val app = | |
Project("application", file("application")).dependsOn(lib) | |
.settings(scalaVersion := "2.10.0-RC1") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._ | |
import sbt.Keys._ | |
object ScalaProjectBuild extends Build { | |
lazy val root = | |
Project("root", file(".")) | |
.aggregate(lib, app) | |
lazy val lib = | |
Project("lib", file("lib")) | |
.settings(scalaVersion := "2.10.0-RC1") | |
lazy val app = | |
Project("application", file("application")).dependsOn(lib) | |
.settings(scalaVersion := "2.10.0-RC1") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment