diff options
author | Paul Phillips <paulp@improving.org> | 2010-04-11 05:58:32 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-04-11 05:58:32 +0000 |
commit | 18700fab3b39525724ce75633c7efb604d85fa65 (patch) | |
tree | 672e6151c64dca988969c284ed0189963c6fcbe2 /src | |
parent | 973c00923d05c5c4da8191ef9bf9f7590af5480b (diff) | |
download | scala-18700fab3b39525724ce75633c7efb604d85fa65.tar.gz scala-18700fab3b39525724ce75633c7efb604d85fa65.tar.bz2 scala-18700fab3b39525724ce75633c7efb604d85fa65.zip |
Temporarily reverted r21421 so the build will b...
Temporarily reverted r21421 so the build will build again and hopefully
the auxjvm nightly will run. Review by odersky.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Typers.scala | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala index 99825300dd..284b12e501 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala @@ -4193,9 +4193,12 @@ trait Typers { self: Analyzer => * @param tree ... * @return ... */ - @inline final def typed(tree: Tree): Tree = typed(tree, EXPRmode, WildcardType) + def typed(tree: Tree): Tree = { + val ret = typed(tree, EXPRmode, WildcardType) + ret + } - @inline final def typedPos(pos: Position)(tree: Tree) = typed(atPos(pos)(tree)) + def typedPos(pos: Position)(tree: Tree) = typed(atPos(pos)(tree)) /** Types expression <code>tree</code> with given prototype <code>pt</code>. * @@ -4203,7 +4206,8 @@ trait Typers { self: Analyzer => * @param pt ... * @return ... */ - @inline final def typed(tree: Tree, pt: Type): Tree = typed(tree, EXPRmode, pt) + def typed(tree: Tree, pt: Type): Tree = + typed(tree, EXPRmode, pt) /** Types qualifier <code>tree</code> of a select node. * E.g. is tree occurs in a context like <code>tree.m</code>. |