diff options
author | odersky <odersky@gmail.com> | 2016-08-14 10:54:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-14 10:54:20 +0300 |
commit | 3265323f96f69bded3edb832519825bc7c89e40f (patch) | |
tree | 8ab4d2b88319fc6c7e91ee91b7e07860e83cda2c /src/dotty/tools/dotc/typer/Namer.scala | |
parent | 5429e1dec30095893dd92ecfbb6b5775f607aa35 (diff) | |
parent | 4e95a105869ec2d978d5e7e0a3f78442e19b2fe5 (diff) | |
download | dotty-3265323f96f69bded3edb832519825bc7c89e40f.tar.gz dotty-3265323f96f69bded3edb832519825bc7c89e40f.tar.bz2 dotty-3265323f96f69bded3edb832519825bc7c89e40f.zip |
Merge pull request #1414 from dotty-staging/add-array-strawman
Add arrays to collection strawman
Diffstat (limited to 'src/dotty/tools/dotc/typer/Namer.scala')
-rw-r--r-- | src/dotty/tools/dotc/typer/Namer.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/Namer.scala b/src/dotty/tools/dotc/typer/Namer.scala index 11f167746..f917c233f 100644 --- a/src/dotty/tools/dotc/typer/Namer.scala +++ b/src/dotty/tools/dotc/typer/Namer.scala @@ -698,13 +698,14 @@ class Namer { typer: Typer => // the parent types are elaborated. index(constr) symbolOfTree(constr).ensureCompleted() + + index(rest)(inClassContext(selfInfo)) val tparamAccessors = decls.filter(_ is TypeParamAccessor).toList val parentTypes = ensureFirstIsClass(parents.map(checkedParentType(_, tparamAccessors))) val parentRefs = ctx.normalizeToClassRefs(parentTypes, cls, decls) typr.println(s"completing $denot, parents = $parents, parentTypes = $parentTypes, parentRefs = $parentRefs") - index(rest)(inClassContext(selfInfo)) tempInfo.finalize(denot, parentRefs) Checking.checkWellFormed(cls) |