aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala
Commit message (Collapse)AuthorAgeFilesLines
* Lazy entering of names with internal $'s in package scopesMartin Odersky2017-04-111-17/+51
| | | | | | | | | | | | | | | | Names with internal $'s are entered in package scopes only if - we look for a name with internal $'s. - we want to know all the members of a package scope This optimization seems to be fairly effective. The typical range of package scopes that need $-names is between 0 and 20%. The optimization seems to improve execution time of all unit tests by about 3%. Also. drop the inheritance from Iterable to Scope. The reason is that we now need a context parameter for toList and other Iterable operations which makes them impossible to fit into the Iterable framework.
* Scope refactoringMartin Odersky2017-04-111-0/+22
| | | | | | Since we now have separate package-scopes, it's easier to have them take into account the special role played by the scala package. So we can drop the funky logic of `makeScalaSpecial`.
* Fix and activate package scopesMartin Odersky2017-04-111-1/+1
| | | | Prevviously they were actually unused.
* Keep package member names mangledMartin Odersky2017-04-111-2/+2
| | | | | | | | | Once we start using unencoded operators internally, we will face the problem that one cannot decode realiably a class file filename. We therefore turn things around, keeping members of package scopes in mangled and encoded form. This is compensated by (1) mangling names for lookup of such members and (2) when unpickling from Scala 2 info or Tasty, comparing mangled names when matching a read class or module object against a root.
* Fix typos and redundant statements in previous commitsMartin Odersky2017-04-111-3/+0
|
* Start to use structured ModuleNamesMartin Odersky2017-04-111-3/+7
| | | | Subject to flags Config.semanticNames.
* Remove uses of StringOps from scala-reflectGuillaume Martres2017-03-081-1/+1
|
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-221-0/+267