| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
… which take some statistics.
So far (on a Macbook pro): code base tested = scala/src + dotty/src
lines: 290'000
nodes created: ~1'004'000
parse times + tree building times after 10 iterations: 700-750ms, i.e. ~ 400Klines/sec
full transform of 1M nodes without tree copying: ~50ms
full transform with full copying: 150-200ms
|
| |
|
| |
|
|
|
|
| |
Also changed Untyped from Nothing to Null, because it avoids type inference problems.
|
|
|
|
|
|
|
| |
Moving Positions, Chars to new packages.
Added Source positions.
Added untyped trees module.
Factored out behavior between typed and untyped trees.
|
|
|
|
| |
Previously, each package nesting level doubled the amount of tests, because of the where doTwice was placed.
|
|
|
|
|
| |
Methods taking a fixed symbol are now called …withSym, methods taking a signature … withSig.
The reason for the change is that we want to liberate the original method names to take optional denotations, thus avoiding to have to go through withDenot each time.
|
| |
|
| |
|
|
|
|
| |
Various refinements to make output look more like source.
|
|
|
|
| |
Can now load and print all of scala, dotty.
|
|
|
|
|
|
| |
Dropped preCompleteDecls for a general refactoring that makes decls available after a class is loaded and before it is completed.
Also some other fixes to classloading problems.
|
|
|
|
| |
Aim: simplification, fewer classes.
|
| |
|
|
|
|
| |
Previsouly, failed to detect backlisted package members that were module classes.
|
|
|
|
|
|
| |
This fixes a weird problem where we read an external reference to a type parameter with NoPrefix as owner.
The problem arises when reading reflect.io.ZipFileArchive, where the reference is to the type parameter of AbstactFile.
It might be a known problem for Scala. For the moment there's nothing much we can do on the dotty side to deal with it. We either use .withDenot, and accept that this cannot be reloaded in future runs, or we use a HasFixedSym and risk a stale reference. It seems better to fail than to live with stale references.
|
|
|
|
| |
For the pruposes of & and |, NoType is now treated as top type, above Any.
|
| |
|
|
|
|
| |
Moves worksheets to test. Factored out class DottyTest and made it usable from worksheets. Added worksheet test for signatures.
|
| |
|
| |
|
| |
|
|
Can now read entire contents of scala distribution.
|