summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Global.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2009-10-13 15:39:22 +0000
committerMartin Odersky <odersky@gmail.com>2009-10-13 15:39:22 +0000
commit820e0bd94001e2732b119d217a12844e4720d165 (patch)
tree0307e5751c9b3e2decb605ed7145429887df73d1 /src/compiler/scala/tools/nsc/Global.scala
parent04d037f2e1addcd36f0d990c4f1d37106317959e (diff)
downloadscala-820e0bd94001e2732b119d217a12844e4720d165.tar.gz
scala-820e0bd94001e2732b119d217a12844e4720d165.tar.bz2
scala-820e0bd94001e2732b119d217a12844e4720d165.zip
Fixed #2422 abd #2461
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r--src/compiler/scala/tools/nsc/Global.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala
index 7a6d53b5fb..bcf81c56e6 100644
--- a/src/compiler/scala/tools/nsc/Global.scala
+++ b/src/compiler/scala/tools/nsc/Global.scala
@@ -63,7 +63,7 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable
val global: Global.this.type = Global.this
} with TreeGen {
def mkAttributedCast(tree: Tree, pt: Type): Tree =
- typer.typed(mkAttributedCastUntyped(tree, pt))
+ typer.typed(mkCast(tree, pt))
}
/** Fold constants */