aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #962 from dotty-staging/fix-#947Guillaume Martres2015-11-185-4/+39
|\ | | | | Fix #947
| * scala-collections.whitelist: remove stray 'x' that broke the testGuillaume Martres2015-11-171-1/+1
| |
| * Add ArrayBuilder to whitelistMartin Odersky2015-11-171-1/+3
| |
| * Test case for #947Martin Odersky2015-11-171-0/+16
| |
| * Extend implicits testMartin Odersky2015-11-171-0/+6
| | | | | | | | ... to show that we support implicit patterns.
| * Add file to scala-collections-whitelistMartin Odersky2015-11-171-1/+1
| | | | | | | | | | This witnesses that #945 is fixed (by pushing a fix to the Scala file to dotty-library).
| * More refined treatement of pattern type variablesMartin Odersky2015-11-172-3/+14
|/ | | | | | | | | | | | | | | Previously all lower case names were treated as variables in patterns. But that made code like x: cls crash the compiler if `cls` was a class. Also, it owuld preventing this idiom unless one wrote x: `cls` We now do it like scalac and treat lower case names as variables only in arguments of types.
* Merge pull request #960 from dotty-staging/fix-#941odersky2015-11-167-7/+47
|\ | | | | Fix #941
| * Enable more parts of whitelistMartin Odersky2015-11-161-4/+4
| |
| * Avoid merge errors in Scala2 modeMartin Odersky2015-11-161-1/+1
| | | | | | | | | | | | | | | | Linearize instead. It would be nice to be able to give a migration warning here, but unfortunately we do not have a position at the point the warning would be generated, and it feels like overkill to do another kind of exception that gets propagated and caught in typer.
| * Generalize test to function classesMartin Odersky2015-11-163-2/+21
| | | | | | | | | | | | The previous test was too struct, missed cases where some arguments of the function were unbound. i583a.scala contains a test case.
| * Better diagnostic for migration warningsMartin Odersky2015-11-161-0/+2
| | | | | | | | Flag them as "migration warning" rather than just "warning".
| * Flag trailing `_' following non-function as an errorMartin Odersky2015-11-162-2/+14
| | | | | | | | | | | | | | | | If `x` is not a function or method, then `x _` should be disallowed. scalac accepts this and converts it to () => x instead. I'd like to drop this because it's unnecessary and non-obvious. If -language:Scala2 is on, the behavior is like Scala 2's but a migration warning is issued.
| * Make secondary constructor type parameters aliasesMartin Odersky2015-11-161-0/+7
|/ | | | | | Make secondary constructor type parameters aliases of the enclosing class parameters. Test case in i941.scala. Observed in the wild when trying to typecheck Streams.scala.
* Merge pull request #956 from dotty-staging/companion-methodsDmitry Petrashko2015-11-161-6/+10
|\ | | | | Remove duplication of companion methods in Scala2Unpickler
| * Remove duplication of companion methods in Scala2UnpicklerVladimirNik2015-11-161-6/+10
|/
* Merge pull request #936 from dotty-staging/more-collectionsDmitry Petrashko2015-11-112-18/+183
|\ | | | | Get more collections whitelisted
| * Remove leftover empty linesDmitry Petrashko2015-11-101-10/+0
| |
| * Change diagnosis of GenericTraversableTemplate.scala.Dmitry Petrashko2015-11-101-0/+1
| |
| * This cyclic ref is fixed.Dmitry Petrashko2015-11-101-6/+2
| |
| * Tailrec bug is fixed.Dmitry Petrashko2015-11-101-42/+14
| |
| * Revert "Check that Iterator.scala compiles on jenkins."Dmitry Petrashko2015-11-102-5/+4
| | | | | | | | This reverts commit 05e47a4ac03cad65932a5bbddf506b91e6604f38.
| * Revert "Go back to sbt 0.13.5 until 0.13.9 is published on type safe ↵Dmitry Petrashko2015-11-101-1/+1
| | | | | | | | | | | | artifactory" This reverts commit 2f41c73ee86a56b190758baaf5999ed85d2f57a1.
| * Add more generic classes that compileDmitry Petrashko2015-11-101-0/+12
| |
| * More deep subtype failures.Dmitry Petrashko2015-11-101-0/+14
| |
| * Add more generic classes that compileDmitry Petrashko2015-11-101-0/+7
| |
| * Showcase #943Dmitry Petrashko2015-11-101-0/+5
| |
| * HasNewBuilder and HasNewCombiner compileDmitry Petrashko2015-11-101-0/+4
| |
| * GenericSeqCompanion compilesDmitry Petrashko2015-11-101-0/+2
| |
| * Another cyclic refDmitry Petrashko2015-11-101-0/+3
| |
| * One more cyclic refDmitry Petrashko2015-11-101-0/+4
| |
| * Start adding scala.collections.generic.*Dmitry Petrashko2015-11-101-0/+20
| |
| * TrieIterator uses early definitions.Dmitry Petrashko2015-11-101-0/+1
| |
| * Add TreeMap and TreeSet.Dmitry Petrashko2015-11-101-0/+3
| |
| * showcase #941Dmitry Petrashko2015-11-101-0/+4
| |
| * Showcase #942Dmitry Petrashko2015-11-101-0/+4
| |
| * Add more collections that compileDmitry Petrashko2015-11-101-0/+14
| |
| * Showcase #940Dmitry Petrashko2015-11-101-0/+2
| |
| * Add Map and MapLikeDmitry Petrashko2015-11-101-0/+3
| |
| * Showcase #939Dmitry Petrashko2015-11-101-0/+3
| |
| * Try to add ListMap and ListSetDmitry Petrashko2015-11-101-0/+7
| |
| * Showcase #939Dmitry Petrashko2015-11-101-0/+3
| |
| * Start adding more immutable collections.Dmitry Petrashko2015-11-101-0/+8
| |
| * Add more classes that compileDmitry Petrashko2015-11-101-0/+21
| |
| * One more cyclic reference.Dmitry Petrashko2015-11-101-0/+3
| |
| * One more manifestation of #916Dmitry Petrashko2015-11-101-0/+5
| |
| * Showcase #938Dmitry Petrashko2015-11-101-0/+2
| |
| * One more cyclic reference.Dmitry Petrashko2015-11-101-0/+7
| |
| * Add more collections that compileDmitry Petrashko2015-11-101-2/+25
| |
| * Showcase #937Dmitry Petrashko2015-11-101-3/+13
| |