aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/SymbolLoaders.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-01-17 16:38:17 +0100
committerMartin Odersky <odersky@gmail.com>2014-01-17 16:38:17 +0100
commit422a33af1af13e3d389504e53a1be9a93b942be3 (patch)
tree377ea1a153776ade71cd1f9fdfd6eb49f4a1b116 /src/dotty/tools/dotc/core/SymbolLoaders.scala
parent2efd4f58a422ca7e308122e6fe9af0a530e10d67 (diff)
downloaddotty-422a33af1af13e3d389504e53a1be9a93b942be3.tar.gz
dotty-422a33af1af13e3d389504e53a1be9a93b942be3.tar.bz2
dotty-422a33af1af13e3d389504e53a1be9a93b942be3.zip
Make typedAhead adapt to prototype.
Not sure why it was different before. We need it at least to add implicit parameters in typedAheadExpr.
Diffstat (limited to 'src/dotty/tools/dotc/core/SymbolLoaders.scala')
-rw-r--r--src/dotty/tools/dotc/core/SymbolLoaders.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/SymbolLoaders.scala b/src/dotty/tools/dotc/core/SymbolLoaders.scala
index 34376437b..c66fcb656 100644
--- a/src/dotty/tools/dotc/core/SymbolLoaders.scala
+++ b/src/dotty/tools/dotc/core/SymbolLoaders.scala
@@ -182,6 +182,7 @@ class SymbolLoaders {
openPackageModule(pkgModule, pkgClass)
}
+ // todo: revise to really include the members?
def openPackageModule(container: Symbol, dest: ClassSymbol)(implicit ctx: Context): Unit = {
def isImportable(sym: Symbol) = !(sym is Private) && !sym.isConstructor
// unlink existing symbols in the package