Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Partest dotty non-bootstrapped. | Dmitry Petrashko | 2016-01-13 | 1 | -1/+1 |
| | | | | | | Needs to go in before https://github.com/scala/scala-jenkins-infra/pull/152 is deployed | ||||
* | Merge pull request #1004 from dotty-staging/linker/types | odersky | 2016-01-06 | 3 | -30/+38 |
|\ | | | | | Subtle changes to TypeComarer needed for Linker. | ||||
| * | Mark TermRefWithFixedSym as non-final. | Dmitry Petrashko | 2016-01-04 | 1 | -2/+3 |
| | | |||||
| * | Allow comparisons between TypeRefs and ThisTypes. | Dmitry Petrashko | 2016-01-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Motivation comes from Linker: List$.canBuildFrom is implemented as ReusableCBF.asInstanceOf[GenericCanBuildFrom[A]] static type of field ReusableCBF here is TypeRef(TypeRef(List$), GenericCanBuildFrom[Nothing]) but the ident ReusableCBF gets type TypeRef(ThisType(List$), GenericCanBuildFrom[Nothing]) We already permit comparisons between static TermRefs and ThisTypes, this change additionally allows TypeRefs to static modules to become subtypes of ThisTypes of static modules. | ||||
| * | Linker specific: add note to withSymAndName. | Dmitry Petrashko | 2015-12-20 | 1 | -0/+4 |
| | | |||||
| * | LinkerSpecific: make functionality of ResolveSuper accessible. | Dmitry Petrashko | 2015-12-20 | 1 | -27/+30 |
| | | | | | | | | | | Linker needs to resolve super calls before they are rewritten in the tree. | ||||
* | | VCArrayPrototype: replace override "def clone" by "def clone()" | Guillaume Martres | 2016-01-04 | 1 | -1/+1 |
| | | | | | | | | | | | | This prevented Dotty from bootstrapping when the file arguments were given in a certain order because of #1017. Regardless of what we do regarding #1017, it makes sense to use "def clone()" here. | ||||
* | | Merge pull request #1003 from dotty-staging/linker/tasty | Dmitry Petrashko | 2016-01-04 | 10 | -296/+339 |
|\ \ | | | | | | | Fixes&Changes to TASTY inspired by Linker | ||||
| * | | Address review comments. | Dmitry Petrashko | 2016-01-04 | 1 | -1/+1 |
| | | | |||||
| * | | TreeUnpickler unpickle only top-level packages and imports. | Dmitry Petrashko | 2015-12-20 | 1 | -2/+26 |
| | | | |||||
| * | | Postpone tree compaction till all phases finish operating TASTY. | Dmitry Petrashko | 2015-12-20 | 2 | -4/+10 |
| | | | | | | | | | | | | Linker adds new sections. Wait for sections to be added and then compact. | ||||
| * | | Maintain original completer in SymDenotation. | Dmitry Petrashko | 2015-12-20 | 1 | -1/+1 |
| | | | | | | | | | | | | Needed to be able to access additional sections of TASTY. | ||||
| * | | Linker specific: TreePicker: export functions for reuse | Dmitry Petrashko | 2015-12-20 | 1 | -272/+271 |
| | | | | | | | | | | | | | | | Linker needs to save some trees. Instead of reimplementing I would rather reuse already existing methods. | ||||
| * | | Allow unpickler to be accessible after FromTasty | Dmitry Petrashko | 2015-12-20 | 2 | -1/+4 |
| | | | |||||
| * | | Have only one tree pickler per TASTY pickler. | Dmitry Petrashko | 2015-12-20 | 2 | -1/+3 |
| | | | |||||
| * | | Fix reading of Longs from tasty. Fixes wrong UUID. | Dmitry Petrashko | 2015-12-20 | 1 | -1/+1 |
| | | | |||||
| * | | Linker Specific: allow phases to get to TASTY section. | Dmitry Petrashko | 2015-12-20 | 2 | -16/+25 |
| |/ | | | | | | | | | | | Makes all classes and fields on the way to TASTY section accessible. Example of usage can be found here: https://gist.github.com/DarkDimius/0f9dc769b0dd7a3c7365 | ||||
* | | Merge pull request #1005 from dotty-staging/ycheck-erasure-arrays | Dmitry Petrashko | 2016-01-04 | 2 | -2/+7 |
|\ \ | | | | | | | Ycheck that scala.Array is erazed to either Object or JavaArrayType. | ||||
| * | | Refine interdiction of Array after erasure | Martin Odersky | 2015-12-21 | 1 | -1/+5 |
| | | | | | | | | | | | | Array is still allowed after erasure when compiling Array.scala. | ||||
| * | | Fix erasure of raw arrays | Dmitry Petrashko | 2015-12-21 | 2 | -1/+2 |
| | | | |||||
| * | | TypeErasure.isErasedType: scala.Array is invalid after Erasure. | Dmitry Petrashko | 2015-12-20 | 1 | -1/+1 |
| |/ | | | | | | | It should either be erased to j.l.Object or replaced by JavaArrayType. | ||||
* | | Merge pull request #1010 from dotty-staging/fix/new-asSeenFrom | odersky | 2016-01-03 | 1 | -1/+1 |
|\ \ | | | | | | | Fix #1009: Do not forget to skolemize some types | ||||
| * | | Fix #1009: Do not forget to skolemize some types | Guillaume Martres | 2015-12-24 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #1006 from dotty-staging/more-tests | Guillaume Martres | 2015-12-26 | 11 | -32/+49 |
|\ \ \ | |/ / |/| | | More tests | ||||
| * | | Fix problem dealing with symbolic import renames | Martin Odersky | 2015-12-20 | 1 | -1/+1 |
| | | | |||||
| * | | Make isBottomType work for derives types as well. | Martin Odersky | 2015-12-20 | 1 | -4/+1 |
| | | | |||||
| * | | Fix hk comparison between class and range lambda | Martin Odersky | 2015-12-20 | 1 | -4/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In a situation like List <: [X] -> <: GenTraversable[X] We have to ask whether the rhs contains the instantiated lhs, not whether it is a supertype. | ||||
| * | | Don't do eta expansion on bottom types | Martin Odersky | 2015-12-20 | 2 | -11/+11 |
| | | | |||||
| * | | Fix eta expansion | Martin Odersky | 2015-12-19 | 1 | -1/+2 |
| | | | | | | | | | | | | revios fix crashed for nullary functions | ||||
| * | | Turn println into log | Martin Odersky | 2015-12-19 | 1 | -1/+1 |
| | | | |||||
| * | | Don't flag override errors for synthetic companion objects. | Martin Odersky | 2015-12-19 | 1 | -2/+7 |
| | | | |||||
| * | | Add position to implicit defs generated from implicit classes. | Martin Odersky | 2015-12-19 | 1 | -1/+2 |
| | | | |||||
| * | | Fix parsing of blocks that end in an import | Martin Odersky | 2015-12-19 | 1 | -1/+2 |
| | | | |||||
| * | | Fix desugaring of symbols. | Martin Odersky | 2015-12-19 | 1 | -1/+1 |
| | | | | | | | | | | | | Symbols can appear in patterns, so inserting an `apply` is wrong. | ||||
| * | | Fix eta lifting for functions with vararg parameters. | Martin Odersky | 2015-12-19 | 2 | -6/+7 |
| | | | |||||
* | | | Fix off by 2 error for symbol positions | Martin Odersky | 2015-12-22 | 1 | -1/+1 |
| | | | |||||
* | | | Remove extraneous println | Martin Odersky | 2015-12-21 | 1 | -1/+1 |
| | | | |||||
* | | | Make asSeenFrom idempotent | Martin Odersky | 2015-12-21 | 6 | -35/+88 |
| | | | | | | | | | | | | | | | | | | Let asSeenFrom generate a marker annotated type for any unsafe instantiation. Then cleanup in typedSelect. | ||||
* | | | Add precondition to doc comment. | Martin Odersky | 2015-12-21 | 1 | -0/+1 |
| | | | |||||
* | | | Polishing | Martin Odersky | 2015-12-21 | 1 | -1/+1 |
| | | | |||||
* | | | Change name of setting: -YshowVarBounds -> -Yshow-var-bounds | Martin Odersky | 2015-12-21 | 1 | -1/+1 |
|/ / | |||||
* | | Refactoring of derivedSelect | Martin Odersky | 2015-12-18 | 1 | -17/+17 |
| | | | | | | | | If splitProjections is set, it is more efficient that way. | ||||
* | | Fix higher-kinded unions and intersections | Martin Odersky | 2015-12-18 | 3 | -35/+83 |
| | | | | | | | | | | | | Since And/Or type themselves are parameterless, their the union and intersection of hgiher-kinded types has to be treated specially: The types have to be pulled under a common lambda. | ||||
* | | Fix layout | Martin Odersky | 2015-12-15 | 1 | -17/+17 |
| | | |||||
* | | Optionally rewrite projections. | Martin Odersky | 2015-12-15 | 2 | -2/+41 |
| | | |||||
* | | Revise alias rules in type comparisons. | Martin Odersky | 2015-12-15 | 1 | -40/+36 |
| | | | | | | | | The fix solves two cases where we had a deep subtype before. | ||||
* | | Dont push `|' inside refined types. | Martin Odersky | 2015-12-15 | 1 | -11/+8 |
| | | | | | | | | As the comment explains, this is not sound. | ||||
* | | Better error message in splitter | Martin Odersky | 2015-12-15 | 1 | -1/+4 |
| | | |||||
* | | Print bounds of TypeVars only when option is enabled. | Martin Odersky | 2015-12-15 | 2 | -1/+3 |
|/ | |||||
* | Merge pull request #1000 from dotty-staging/fix-#241 | odersky | 2015-12-15 | 30 | -769/+996 |
|\ | | | | | Fix #241 |