aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/typer/Typer.scala
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2017-02-14 17:01:55 +0100
committerGuillaume Martres <smarter@ubuntu.com>2017-02-18 23:35:34 +0100
commit42e112b92a526bb9352febb14d8af48138bcfb87 (patch)
treed05b5915bbdeec5f65808c5c3c8f201bb3eac06a /compiler/src/dotty/tools/dotc/typer/Typer.scala
parentb2e4fe3212c226f03869c9f7c4d0b921a4e424de (diff)
downloaddotty-42e112b92a526bb9352febb14d8af48138bcfb87.tar.gz
dotty-42e112b92a526bb9352febb14d8af48138bcfb87.tar.bz2
dotty-42e112b92a526bb9352febb14d8af48138bcfb87.zip
ClassfileParser: avoid looking up inner class in wrong phase
getMember needs to take an implicit `Context` parameter, otherwise the following code: val result = ctx.atPhaseNotLaterThan(ctx.typerPhase) { implicit ctx => getMember(owner, innerName.toTypeName) } will not run getMember at the typer phase.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/typer/Typer.scala')
0 files changed, 0 insertions, 0 deletions