Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added filter utility method to Scope… | Martin Odersky | 2013-04-07 | 1 | -5/+9 |
| | | | | … which is more efficient than toList.filter. | ||||
* | Renamings | Martin Odersky | 2013-04-06 | 4 | -14/+14 |
| | | | | | module => sourceModule in class ClassCompleter LazyModuleInfo => ModuleCompleter | ||||
* | Refactored lazy class completers and module class completers. | Martin Odersky | 2013-04-06 | 4 | -81/+41 |
| | | | | Aim: simplification, fewer classes. | ||||
* | Weakening disambiguation from =:= to matches. | Martin Odersky | 2013-04-05 | 1 | -1/+1 |
| | |||||
* | Added case for ThisType#typeSymbol. | Martin Odersky | 2013-04-05 | 1 | -0/+1 |
| | |||||
* | Moved logic from setClassInfo to completer. | Martin Odersky | 2013-04-05 | 1 | -15/+15 |
| | | | | Made sure that unpickled module classes always have a sourceModule. | ||||
* | Pre-initializing Unpickler NamedTypes with their Denotations. | Martin Odersky | 2013-04-05 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | Fixed sourceModule fallback, adapting to new module class naming scheme. | Martin Odersky | 2013-04-05 | 1 | -5/+7 |
| | |||||
* | Weakinging of AndType invariant. | Martin Odersky | 2013-04-05 | 1 | -2/+1 |
| | | | | AndTypes over non-value types are possible, for instance ExprType is valid as an argument. | ||||
* | Use NoType instead of Any as sentinel for upper bound | Martin Odersky | 2013-04-05 | 1 | -1/+1 |
| | | | | This avoids subtyping tests for single bounds, and with them possibles cyclic references. | ||||
* | Made Erroneous a pre-complete flag. | Martin Odersky | 2013-04-05 | 1 | -1/+2 |
| | |||||
* | Made & , | NoType-aware. | Martin Odersky | 2013-04-05 | 3 | -8/+8 |
| | | | | For the pruposes of & and |, NoType is now treated as top type, above Any. | ||||
* | More tests in worksheets. | Martin Odersky | 2013-04-05 | 1 | -3/+3 |
| | |||||
* | Made module class names end in '$'. | Martin Odersky | 2013-04-05 | 5 | -14/+35 |
| | | | | | | If module classes have the same names as their companion classes there is the latent trap that TypeRefs refer to one or the other. To avoid cross-talk, module classes need to have a different name. Also, some fixes to baseType, isSubClass in SymDenotations. | ||||
* | Fix to array erasure. | Martin Odersky | 2013-04-05 | 1 | -2/+3 |
| | | | | Now treats arrays of value classes correctly. | ||||
* | Fix to flag translation. | Martin Odersky | 2013-04-05 | 1 | -2/+2 |
| | | | | Now ensures that only termFlags/typeFlags are produced. | ||||
* | Added new classSymbol method for Types. | Martin Odersky | 2013-04-05 | 1 | -1/+26 |
| | |||||
* | Ensures ScalaValueClasses are properly initialized. | Martin Odersky | 2013-04-05 | 1 | -2/+12 |
| | |||||
* | Refactored test framework | Martin Odersky | 2013-04-05 | 5 | -127/+2 |
| | | | | Moves worksheets to test. Factored out class DottyTest and made it usable from worksheets. Added worksheet test for signatures. | ||||
* | Added some tracing to asSeenFrom. | Martin Odersky | 2013-04-05 | 1 | -4/+5 |
| | |||||
* | Fixed hashcode computation. | Martin Odersky | 2013-04-05 | 1 | -2/+2 |
| | | | | Embarrassiing: Used == instead of = before. | ||||
* | Adding debug code to disambiguation. | Martin Odersky | 2013-04-05 | 1 | -2/+11 |
| | |||||
* | Small change to disjointAsSeenFrom. | Martin Odersky | 2013-04-05 | 1 | -1/+1 |
| | | | | Not sure this matters, but seems to be prudent not ot force signature here. | ||||
* | Fix to pareamSignatire for arrays. | Martin Odersky | 2013-04-05 | 1 | -1/+1 |
| | |||||
* | Fix to superId. | Martin Odersky | 2013-04-05 | 1 | -5/+5 |
| | | | | Big blooper: superId was always -1. | ||||
* | Fixes to baseType; now respects linearization order. | Martin Odersky | 2013-04-05 | 1 | -22/+14 |
| | |||||
* | Consolidated tracing under -YdebugTrace. | Martin Odersky | 2013-04-04 | 8 | -11/+25 |
| | |||||
* | Fxing cyclic references during findMember | Martin Odersky | 2013-04-04 | 2 | -37/+38 |
| | | | | | | 1) Classes and alias type now take precedence over abstract types. 2) When computing members, parents are visited right to left, which corresponds to existing taking precedence over new in mergeDenot. | ||||
* | Trying to get at the root of cyclic reference problems. | Martin Odersky | 2013-04-04 | 5 | -28/+35 |
| | | | | Part 1: Enabling tracing and avoiding subtype computations in margeDenot. | ||||
* | Improvements in tracing and some Type fixes. | Martin Odersky | 2013-04-03 | 7 | -73/+92 |
| | |||||
* | Getting rid of forceProperType in Unpicklers | Martin Odersky | 2013-03-26 | 1 | -14/+4 |
| | |||||
* | Some more fixes of classfile reading. | Martin Odersky | 2013-03-26 | 4 | -8/+10 |
| | |||||
* | More fixes to classfile reading. | Martin Odersky | 2013-03-25 | 7 | -110/+41 |
| | | | | Can now read entire contents of scala distribution. | ||||
* | More fixes for classfile reading. | Martin Odersky | 2013-03-25 | 10 | -27/+77 |
| | | | | In particular: Survive malformed type errors. Make trees cloneable. and others more. | ||||
* | More fixes to classfile loading. | Martin Odersky | 2013-03-24 | 6 | -4/+36 |
| | |||||
* | Fixes fingerprint problems. | Martin Odersky | 2013-03-24 | 10 | -46/+51 |
| | | | | Also reducing debug output. Can now read and display all classes and objects in scala.collection. | ||||
* | Attempt to fix fingerprint problem (disabled for now) | Martin Odersky | 2013-03-23 | 6 | -24/+52 |
| | |||||
* | Some more fixes for classfile loading | Martin Odersky | 2013-03-23 | 3 | -5/+14 |
| | |||||
* | More fixes to classfile reading. | Martin Odersky | 2013-03-23 | 8 | -41/+80 |
| | | | | Most important one: Getting equality of NamedTypes right. | ||||
* | More fixes for classfile reading. | Martin Odersky | 2013-03-22 | 7 | -53/+97 |
| | | | | Including a refactoring of symbol loaders and unpickler traits. | ||||
* | More fixes to classfile reading. | Martin Odersky | 2013-03-21 | 10 | -52/+113 |
| | | | | Can now read all classes in scala.collection.generic. Some failures remain for their companion objects. | ||||
* | Pretty-printing improvements. | Martin Odersky | 2013-03-20 | 17 | -253/+315 |
| | |||||
* | First draft of pretty printing abstractions | Martin Odersky | 2013-03-20 | 1 | -0/+123 |
| | |||||
* | Fixing problem with reading typeParams correctly in Unpickler | Martin Odersky | 2013-03-19 | 3 | -8/+30 |
| | |||||
* | Adding missing methods for type equality | Martin Odersky | 2013-03-19 | 1 | -9/+46 |
| | |||||
* | Some improvements to printing | Martin Odersky | 2013-03-19 | 2 | -6/+10 |
| | |||||
* | Excluding empty trees from type mapping tree transforms | Martin Odersky | 2013-03-19 | 1 | -1/+3 |
| | |||||
* | More changes for higher-kinded types emulation. | Martin Odersky | 2013-03-18 | 8 | -38/+123 |
| | |||||
* | Cleanup of higher-kinded types treatment | Martin Odersky | 2013-03-18 | 3 | -20/+38 |
| | |||||
* | Added emulation of higher-kinded types. | Martin Odersky | 2013-03-17 | 12 | -21/+136 |
| | | | | Also improvements to toString. |