diff options
author | Martin Odersky <odersky@gmail.com> | 2016-09-15 21:45:26 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-10-02 16:12:28 +0200 |
commit | 53b165e69bb45f424184d02e76c520b67ee0c1d7 (patch) | |
tree | 2b4f6123890b520e69dc14fe297e4a89dd79eb81 /src/dotty/tools/dotc/typer/Typer.scala | |
parent | bef012d32127e3d256d0ce31e1a2a27f7277f8d8 (diff) | |
download | dotty-53b165e69bb45f424184d02e76c520b67ee0c1d7.tar.gz dotty-53b165e69bb45f424184d02e76c520b67ee0c1d7.tar.bz2 dotty-53b165e69bb45f424184d02e76c520b67ee0c1d7.zip |
Cleanups
Better comments and refactorings that move some things around
so that less modules depend on Inliner.
Diffstat (limited to 'src/dotty/tools/dotc/typer/Typer.scala')
-rw-r--r-- | src/dotty/tools/dotc/typer/Typer.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/Typer.scala b/src/dotty/tools/dotc/typer/Typer.scala index f9fca117d..fb7f26f36 100644 --- a/src/dotty/tools/dotc/typer/Typer.scala +++ b/src/dotty/tools/dotc/typer/Typer.scala @@ -949,7 +949,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit def typedInlined(tree: untpd.Inlined, pt: Type)(implicit ctx: Context): Inlined = { val (exprCtx, bindings1) = typedBlockStats(tree.bindings) - val expansion1 = typed(tree.expansion, pt)(Inliner.inlineContext(tree.call)(exprCtx)) + val expansion1 = typed(tree.expansion, pt)(inlineContext(tree.call)(exprCtx)) assignType(cpy.Inlined(tree)(tree.call, bindings1.asInstanceOf[List[MemberDef]], expansion1), bindings1, expansion1) } |