From 820e0bd94001e2732b119d217a12844e4720d165 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 13 Oct 2009 15:39:22 +0000 Subject: Fixed #2422 abd #2461 --- src/compiler/scala/tools/nsc/Global.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/scala/tools/nsc/Global.scala') 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 */ -- cgit v1.2.3