aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #1004 from dotty-staging/linker/typesodersky2016-01-063-30/+38
|\ | | | | Subtle changes to TypeComarer needed for Linker.
| * Mark TermRefWithFixedSym as non-final.Dmitry Petrashko2016-01-041-2/+3
| |
| * Allow comparisons between TypeRefs and ThisTypes.Dmitry Petrashko2016-01-041-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 Petrashko2015-12-201-0/+4
| |
| * LinkerSpecific: make functionality of ResolveSuper accessible.Dmitry Petrashko2015-12-201-27/+30
| | | | | | | | | | Linker needs to resolve super calls before they are rewritten in the tree.
* | Merge pull request #1016 from dotty-staging/fix/language-featuresDmitry Petrashko2016-01-061-2/+2
|\ \ | | | | | | Build.scala: only enable features we use
| * | Build.scala: only enable features we useGuillaume Martres2016-01-041-2/+2
| | | | | | | | | | | | | | | -language:_ does not work when compiling dotty with dotty because it implies -language:keepUnions which prevents dotty from typechecking
* | | Merge pull request #1015 from dotty-staging/fix/dotc-dDmitry Petrashko2016-01-041-2/+2
|\ \ \ | | | | | | | | bin/dotc: fix "-d" argument
| * | | bin/dotc: fix "-d" argumentGuillaume Martres2016-01-041-2/+2
| |/ / | | | | | | | | | | | | It's already used to specify an output folder, don't try to interpret it as a shortcut for -debug
* | | Merge pull request #1018 from dotty-staging/fix/paramless-overrideDmitry Petrashko2016-01-041-1/+1
|\ \ \ | |/ / |/| | VCArrayPrototype: replace override "def clone" by "def clone()"
| * | VCArrayPrototype: replace override "def clone" by "def clone()"Guillaume Martres2016-01-041-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 #1013 from dotty-staging/add/sbt-stuffGuillaume Martres2016-01-041-0/+8
|\ \ | | | | | | Add a compiler.properties resource file like in Scala 2
| * | Add a compiler.properties resource file like in Scala 2Guillaume Martres2015-12-311-0/+8
| | | | | | | | | | | | | | | | | | | | | This is used by sbt to get the compiler's version. The code to generate the resource comes from http://www.scala-sbt.org/0.13/docs/Howto-Generating-Files.html#Generate+resources
* | | Merge pull request #1003 from dotty-staging/linker/tastyDmitry Petrashko2016-01-0410-296/+339
|\ \ \ | | | | | | | | Fixes&Changes to TASTY inspired by Linker
| * | | Address review comments.Dmitry Petrashko2016-01-041-1/+1
| | | |
| * | | TreeUnpickler unpickle only top-level packages and imports.Dmitry Petrashko2015-12-201-2/+26
| | | |
| * | | Postpone tree compaction till all phases finish operating TASTY.Dmitry Petrashko2015-12-202-4/+10
| | | | | | | | | | | | | | | | Linker adds new sections. Wait for sections to be added and then compact.
| * | | Maintain original completer in SymDenotation.Dmitry Petrashko2015-12-201-1/+1
| | | | | | | | | | | | | | | | Needed to be able to access additional sections of TASTY.
| * | | Linker specific: TreePicker: export functions for reuseDmitry Petrashko2015-12-201-272/+271
| | | | | | | | | | | | | | | | | | | | Linker needs to save some trees. Instead of reimplementing I would rather reuse already existing methods.
| * | | Allow unpickler to be accessible after FromTastyDmitry Petrashko2015-12-202-1/+4
| | | |
| * | | Have only one tree pickler per TASTY pickler.Dmitry Petrashko2015-12-202-1/+3
| | | |
| * | | Fix reading of Longs from tasty. Fixes wrong UUID.Dmitry Petrashko2015-12-201-1/+1
| | | |
| * | | Linker Specific: allow phases to get to TASTY section.Dmitry Petrashko2015-12-202-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-arraysDmitry Petrashko2016-01-045-5/+38
|\ \ \ | | | | | | | | Ycheck that scala.Array is erazed to either Object or JavaArrayType.
| * | | Enable previously failing whitelist testMartin Odersky2015-12-211-3/+1
| | | |
| * | | Refine interdiction of Array after erasureMartin Odersky2015-12-211-1/+5
| | | | | | | | | | | | | | | | Array is still allowed after erasure when compiling Array.scala.
| * | | Merge branch 'ycheck-erasure-arrays' of ↵Martin Odersky2015-12-210-0/+0
| |\ \ \ | | | | | | | | | | | | | | | https://github.com/dotty-staging/dotty into ycheck-erasure-arrays
| | * | | Fix assertion in erasure to correctly print name of the phase.Dmitry Petrashko2015-12-201-1/+1
| | | | |
| * | | | Fix erasure of raw arraysDmitry Petrashko2015-12-213-1/+17
| |/ / /
| * | | TypeErasure.isErasedType: scala.Array is invalid after Erasure.Dmitry Petrashko2015-12-201-1/+1
| | | | | | | | | | | | | | | | It should either be erased to j.l.Object or replaced by JavaArrayType.
| * | | Minimize #996Dmitry Petrashko2015-12-201-0/+15
| |/ /
* | | Merge pull request #993 from dotty-staging/tasty-typer-testDmitry Petrashko2016-01-031-0/+7
|\ \ \ | | | | | | | | Add tests for dotc.typer pickling/unpickling
| * | | Add tests for dotc.typer pickling/unpicklingVladimirNik2015-12-041-0/+7
| | | |
* | | | Merge pull request #1010 from dotty-staging/fix/new-asSeenFromodersky2016-01-033-1/+15
|\ \ \ \ | |_|_|/ |/| | | Fix #1009: Do not forget to skolemize some types
| * | | Fix #1009: Do not forget to skolemize some typesGuillaume Martres2015-12-243-1/+15
| | | |
* | | | Merge pull request #1006 from dotty-staging/more-testsGuillaume Martres2015-12-26269-306/+115
|\ \ \ \ | |/ / / |/| | | More tests
| * | | The big pending/pos test triageMartin Odersky2015-12-20196-670/+57
| | | |
| * | | Fix problem dealing with symbolic import renamesMartin Odersky2015-12-202-1/+10
| | | |
| * | | Make isBottomType work for derives types as well.Martin Odersky2015-12-201-4/+1
| | | |
| * | | Fix hk comparison between class and range lambdaMartin Odersky2015-12-203-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 typesMartin Odersky2015-12-202-11/+11
| | | |
| * | | Fix eta expansionMartin Odersky2015-12-191-1/+2
| | | | | | | | | | | | | | | | revios fix crashed for nullary functions
| * | | Turn println into logMartin Odersky2015-12-191-1/+1
| | | |
| * | | Don't flag override errors for synthetic companion objects.Martin Odersky2015-12-192-2/+32
| | | |
| * | | Add position to implicit defs generated from implicit classes.Martin Odersky2015-12-191-1/+2
| | | |
| * | | Fix parsing of blocks that end in an importMartin Odersky2015-12-193-2/+38
| | | |
| * | | Fix desugaring of symbols.Martin Odersky2015-12-192-1/+519
| | | | | | | | | | | | | | | | Symbols can appear in patterns, so inserting an `apply` is wrong.
| * | | Fix eta lifting for functions with vararg parameters.Martin Odersky2015-12-193-6/+12
| | | |
| * | | Categorize more testsMartin Odersky2015-12-1962-199/+2
| | | | | | | | | | | | | | | | All pos tests up to 3999 have been triaged. One new test in pending.
* | | | Merge pull request #1008 from dotty-staging/fix-sym-positionsGuillaume Martres2015-12-234-9/+4
|\ \ \ \ | | | | | | | | | | Fix off by 2 error for symbol positions