Skip to content

Commit

Permalink
Update sbt.latest.version to sbt's latest version.
Browse files Browse the repository at this point in the history
And tweak deprecated stub so it compiles with 0.12.2.
  • Loading branch information
paulp committed Mar 13, 2013
1 parent c964643 commit cab4762
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1986,7 +1986,7 @@ SBT Compiler Interface

<target name="sbt.start" depends="init">
<!-- TODO - Put this in init? Allow this to be overriden simply -->
<property name="sbt.latest.version" value="0.12.0"/>
<property name="sbt.latest.version" value="0.12.2"/>


<property name="sbt.src.dir" value="${build-sbt.dir}/${sbt.latest.version}/src"/>
Expand Down Expand Up @@ -2034,6 +2034,7 @@ SBT Compiler Interface
<pathelement location="${build-quick.dir}/classes/reflect"/>
<pathelement location="${build-quick.dir}/classes/compiler"/>
<pathelement location="${build-quick.dir}/classes/scaladoc"/>
<pathelement location="${build-quick.dir}/classes/interactive"/>
<pathelement location="${build-quick.dir}/classes/repl"/>
<pathelement location="${sbt.interface.jar}"/>
<path refid="forkjoin.classpath"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ package scala.tools.nsc
package interactive

@deprecated("Use scala.reflect.internal.Positions", "2.11.0")
trait RangePositions extends scala.reflect.internal.Positions with ast.Trees with ast.Positions {
trait RangePositions extends {
override val useOffsetPositions = false

This comment has been minimized.

Copy link
@retronym

retronym Mar 24, 2013

Member
[scalacfork] /Users/jason/code/scala/src/interactive/scala/tools/nsc/interactive/RangePositions.scala:11: warning: Implementation restriction: early definitions in traits are not initialized before the super class is initialized.
[scalacfork]   override val useOffsetPositions = false
[scalacfork]                ^
} with scala.reflect.internal.Positions with ast.Trees with ast.Positions {
self: scala.tools.nsc.Global =>

override def useOffsetPositions = false
}

0 comments on commit cab4762

Please sign in to comment.