Skip to content

Commit 0c5a1ea

Browse files
committed
Merge pull request #27 from retronym/topic/typed-transform-2
Typeful transformations
2 parents 9156cbe + b79c9ad commit 0c5a1ea

38 files changed

+1629
-1391
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ target
33
.idea
44
.idea_modules
55
*.icode
6+
project/local.sbt

build.sbt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
scalaVersion := "2.10.1"
1+
scalaVersion := "2.10.2"
22

33
organization := "org.typesafe.async" // TODO new org name under scala-lang.
44

@@ -8,8 +8,8 @@ version := "1.0.0-SNAPSHOT"
88

99
libraryDependencies <++= (scalaVersion) {
1010
sv => Seq(
11-
"org.scala-lang" % "scala-reflect" % sv,
12-
"org.scala-lang" % "scala-compiler" % sv % "test"
11+
"org.scala-lang" % "scala-reflect" % sv % "provided",
12+
"org.scala-lang" % "scala-compiler" % sv % "provided"
1313
)
1414
}
1515

@@ -32,6 +32,8 @@ scalacOptions += "-P:continuations:enable"
3232

3333
scalacOptions ++= Seq("-deprecation", "-unchecked", "-Xlint", "-feature")
3434

35+
scalacOptions in Test ++= Seq("-Yrangepos")
36+
3537
description := "An asynchronous programming facility for Scala, in the spirit of C# await/async"
3638

3739
homepage := Some(url("http://github.com/scala/async"))
@@ -40,6 +42,9 @@ startYear := Some(2012)
4042

4143
licenses +=("Scala license", url("https://github.com/scala/async/blob/master/LICENSE"))
4244

45+
// Uncomment to disable test compilation.
46+
// (sources in Test) ~= ((xs: Seq[File]) => xs.filter(f => Seq("TreeInterrogation", "package").exists(f.name.contains)))
47+
4348
pomExtra := (
4449
<developers>
4550
<developer>

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.12.1
1+
sbt.version=0.12.4

src/main/scala/scala/async/AnfTransform.scala

Lines changed: 0 additions & 275 deletions
This file was deleted.

0 commit comments

Comments
 (0)