diff options
author | Martin Odersky <odersky@gmail.com> | 2009-10-13 15:39:22 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-10-13 15:39:22 +0000 |
commit | 820e0bd94001e2732b119d217a12844e4720d165 (patch) | |
tree | 0307e5751c9b3e2decb605ed7145429887df73d1 /src/compiler/scala/tools/nsc/Global.scala | |
parent | 04d037f2e1addcd36f0d990c4f1d37106317959e (diff) | |
download | scala-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.scala | 2 |
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 */ |