aboutsummaryrefslogtreecommitdiff
path: root/test/test/showClass.scala
Commit message (Collapse)AuthorAgeFilesLines
* Move valueclass functionality into its own ValueClass module.Martin Odersky2014-07-171-1/+0
|
* Fixed several deep problems in handling of types and symbols.Martin Odersky2013-12-141-1/+1
| | | | | | | | | 1. We forgot to mark declaration symbols Deferred. 2. Types with NoPrefix and the same name got identified. Fixed by adding a new category WithNoPrefix to named types, and changing the way named types get generated. 3. Self types lacked parameters. (Question: Do we need to also track type members?) 4. Printers caused cyclic reference errors. Now some print operations are more careful with forcing. 5. Namedparts accumulator has to be more careful with ThisTypes. Because self types now contain parameters, which might lead back to this, we only add the class name (or the source module, if it's a module class). 6. toBounds in TypeApplications needs to use Co/Contra aliases for expanded name parameters, not just local ones.
* Added unit testing supportMartin Odersky2013-11-181-4/+2
|
* Changed Throwing reporting scheme.Martin Odersky2013-09-231-2/+2
| | | | | Changed ThrowingReporter to use an underlying reporter for issuing messages below ERROR. Made ThrowingReporters the default in initialContext.
* Adding diagnostics how many stubs were generatedMartin Odersky2013-07-121-1/+3
|
* Taking accessibility into account for &, |Martin Odersky2013-06-191-1/+2
| | | | | | Changed the algorithm for & (and also |) to take accessibility into account. Fixed various problems that opened up when doing this. Under -debug, new and old behavior of & are checked side-by-side and any discrepancy is noted.
* Added TreeBuilder and TreeInfo classes.Martin Odersky2013-04-191-1/+1
| | | | Also changed Untyped from Nothing to Null, because it avoids type inference problems.
* Avoids exponential amount of testing for nested packagesMartin Odersky2013-04-101-1/+1
| | | | Previously, each package nesting level doubled the amount of tests, because of the where doTwice was placed.
* Renamed creation methods of NamedTypesMartin Odersky2013-04-091-1/+1
| | | | | 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.
* Added initial denotations to NamedType where feasible.Martin Odersky2013-04-091-1/+1
|
* ShowClass tests now run both with -Ydebug and without.Martin Odersky2013-04-091-0/+2
|
* Refining refined printers.Martin Odersky2013-04-091-2/+2
| | | | Various refinements to make output look more like source.
* More refinements to classfile loading.Martin Odersky2013-04-081-4/+4
| | | | Can now load and print all of scala, dotty.
* Changes to pre complete declsMartin Odersky2013-04-071-3/+4
| | | | | | 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.
* Refactored lazy class completers and module class completers.Martin Odersky2013-04-061-3/+3
| | | | Aim: simplification, fewer classes.
* Weakening disambiguation from =:= to matches.Martin Odersky2013-04-051-3/+3
|
* Pre-initializing Unpickler NamedTypes with their Denotations.Martin Odersky2013-04-051-2/+2
| | | | | | 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.
* Made & , | NoType-aware.Martin Odersky2013-04-051-2/+1
| | | | For the pruposes of & and |, NoType is now treated as top type, above Any.
* More tests in worksheets.Martin Odersky2013-04-051-1/+2
|
* Refactored test frameworkMartin Odersky2013-04-051-2/+2
| | | | Moves worksheets to test. Factored out class DottyTest and made it usable from worksheets. Added worksheet test for signatures.
* Consolidated tracing under -YdebugTrace.Martin Odersky2013-04-041-2/+2
|
* Improvements in tracing and some Type fixes.Martin Odersky2013-04-031-1/+2
|
* Some more fixes of classfile reading.Martin Odersky2013-03-261-2/+2
|
* More fixes to classfile reading.Martin Odersky2013-03-251-0/+13
Can now read entire contents of scala distribution.