summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorSean McDirmid <sean.mcdirmid@gmail.com>2006-02-20 17:53:31 +0000
committerSean McDirmid <sean.mcdirmid@gmail.com>2006-02-20 17:53:31 +0000
commitb78ee4f8b8cbccc07502d24dc7edbb272d8e3e96 (patch)
tree7d8cb5ccc80b6c6710e2a3efeddb4ee0d5cdc421 /src/compiler
parent73a8597fde7de5b7563362c2e0336f38ca18532b (diff)
downloadscala-b78ee4f8b8cbccc07502d24dc7edbb272d8e3e96.tar.gz
scala-b78ee4f8b8cbccc07502d24dc7edbb272d8e3e96.tar.bz2
scala-b78ee4f8b8cbccc07502d24dc7edbb272d8e3e96.zip
more original fixes
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Typers.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
index 31291b099e..1f909a6f10 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -504,7 +504,7 @@ mixin class Typers requires Analyzer {
// If first parent is a mixin class, make it first mixin and add its superclass as first parent
while (supertpt.tpe.symbol != null && supertpt.tpe.symbol.initialize.isMixin) {
mixins = typedType(supertpt) :: mixins
- supertpt = TypeTree(supertpt.tpe.parents.head) setOriginal supertpt /* setPos supertpt.pos */
+ supertpt = TypeTree(supertpt.tpe.parents.head) /* setOriginal supertpt */ setPos supertpt.pos
}
if (supertpt.hasSymbol) {
val tparams = supertpt.symbol.typeParams
@@ -614,7 +614,7 @@ mixin class Typers requires Analyzer {
DefDef(getter, vparamss =>
if (mods hasFlag DEFERRED) EmptyTree
else typed(atPos(vdef.pos)(Select(This(value.owner), value)), EXPRmode, value.tpe)))
- result.tpt.asInstanceOf[TypeTree] setOriginal tpt /* setPos tpt.pos */
+ result.tpt.asInstanceOf[TypeTree] /* XXX: setOriginal tpt */ setPos tpt.pos
checkNoEscaping.privates(getter, result.tpt)
result
}