aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Make use of better overload resolution in collections strawman testMartin Odersky2016-03-091-2/+2
| | | |
| * | | Pretype functional arguments when doing overload resolutionMartin Odersky2016-03-091-0/+4
| | | |
| * | | New collection strawmanMartin Odersky2016-03-091-2/+2
| | | | | | | | | | | | | | | | Centered around views instead of iterators.
* | | | Merge pull request #1154 from dotty-staging/add-rewriteodersky2016-03-185-0/+87
|\ \ \ \ | | | | | | | | | | First steps towards rewriting from Scala2 in dotty
| * | | | Fix two rewrite patches.Martin Odersky2016-03-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. trailing `_`: `x _` is rewritten to `(() => x)` not to `x` 2. lazy vals: Rewrites are done in Typer, not LazyVals. Later on we are too much at risk to hit synthetically generated lazy vals.
| * | | | Add patch for variance errorsMartin Odersky2016-03-121-0/+6
| | | | |
| * | | | Rewrite testMartin Odersky2016-03-121-0/+29
| | | | | | | | | | | | | | | | | | | | Test rewritings that were implemented so far.
| * | | | More neg testsMartin Odersky2016-03-123-0/+33
| | | | | | | | | | | | | | | | | | | | Some random neg tests from previous experiments.
| * | | | Test case for #1149Martin Odersky2016-03-121-0/+18
| | |/ / | |/| |
* | | | Merge pull request #1165 from dotty-staging/fix-#1144Dmitry Petrashko2016-03-152-0/+9
|\ \ \ \ | |_|_|/ |/| | | Pickle/unpickle SuperAccessor names
| * | | Pickle/unpickle SuperAccessor namesMartin Odersky2016-03-102-0/+9
| | | | | | | | | | | | | | | | | | | | Needed to restore the SuperAccessor flag in separate compilation. Fixes #1144.
* | | | Merge pull request #1168 from dotty-staging/fix-#1131Dmitry Petrashko2016-03-141-0/+14
|\ \ \ \ | | | | | | | | | | Tweaks to ExplicitOuter and TreeTypeMap
| * | | | Test caseMartin Odersky2016-03-121-0/+14
| | |/ / | |/| | | | | | | | | | The test fails if either of the previous two commits is missing.
* | | | Merge pull request #1171 from dotty-staging/fix-#1130Guillaume Martres2016-03-131-0/+6
|\ \ \ \ | | | | | | | | | | Have checkNotPrivate skip over private aliases.
| * | | | Have checkNotPrivate skip over private aliases.Martin Odersky2016-03-121-0/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CheckNotPrivate now avoids private aliases, so that types sat prepresentable in transformation phases. This does not solve the problem that private classes or abstract types might leak coming from Scala 2, but there is not really a good cure for that. We can reject them outright or allow them under language:Scala2 and hope for the best.
* | | | Merge pull request #1164 from dotty-staging/fix-#1140Guillaume Martres2016-03-132-0/+9
|\ \ \ \ | |/ / / |/| | | Make sure lazy accessors in traits are not private.
| * | | Make sure lazy accessors in traits are not private.Martin Odersky2016-03-102-0/+9
| |/ / | | | | | | | | | Fixes #1140. Review by @DarkDimius or @smarter.
* / / Fix bug where ambiguous references were not reportedMartin Odersky2016-03-091-0/+11
|/ / | | | | | | | | | | | | There was a mssing condition which meant Tyepr thought it was at the outermost scope where but was mistaken. Fixes #1145
* | Merge pull request #1153 from dotty-staging/vc-companionsodersky2016-03-096-0/+16
|\ \ | |/ |/| Fix for separate compilation with value class issue (#1137)
| * Fix for separate compilation with value class issue (missing companion ↵VladimirNik2016-03-076-0/+16
| | | | | | | | object - #1137)
* | Merge pull request #1155 from dotty-staging/staticodersky2016-03-091-0/+40
|\ \ | | | | | | Implement @static sip.
| * | Add test that was used to see if @static works.Dmitry Petrashko2016-03-071-0/+40
| | |
* | | Allow successive opening comments.Martin Odersky2016-03-071-0/+10
| |/ |/| | | | | Fixes #1052.
* | Merge pull request #1147 from sjrd/fix-non-jvm-sam-non-applyodersky2016-03-072-0/+12
|\ \ | | | | | | Fix #1146: Fix bug of ExpandSAMs with non-apply SAM methods.
| * | Fix #1146: Fix bug of ExpandSAMs with non-apply SAM methods.Sébastien Doeraene2016-03-072-0/+12
| |/ | | | | | | | | | | When expanding a SAM, ExpandSAMs always used the name `apply` for the generated forwarder, instead of the name of the method which is abstract in the SAM type. This commit fixes this issue.
* | Merge pull request #1150 from dotty-staging/change-lambdalift-fasttrackodersky2016-03-072-9/+156
|\ \ | |/ |/| Change lambdalift - fasttrack
| * Fix call propagation from constructor to classMartin Odersky2016-03-022-16/+16
| |
| * LambdaLift redesignMartin Odersky2016-03-022-3/+59
| | | | | | | | | | | | | | Simplifications in order to avoid the freqent special casing of constructors and prepare the way for proper handling of trait constructors (which cause problems; see pending/pos/llift.scala.
| * Handle local traits in lambda liftMartin Odersky2016-03-012-9/+100
| |
* | Neg tests: remove negTest flag; neg tests are binded to neg directoryVladimirNik2016-03-032-2/+11
| |
* | Neg tests: remove xerror parameter from tests (compute based on // error)VladimirNik2016-03-0311-12/+12
| |
* | Merge pull request #1111 from dotty-staging/fix-#1099Dmitry Petrashko2016-03-022-38/+25
|\ \ | |/ |/| Special case pattern matching against abstract types with class tags
| * Remove bogus test on rebasingMartin Odersky2016-02-201-38/+0
| |
| * Special case for pattern matching tagged abstract types.Martin Odersky2016-02-201-0/+25
| | | | | | | | Add special case when pattern matching against an abstract type that comes with a class tag
* | Merge pull request #1112 from dotty-staging/value-classes-private-this-paramDmitry Petrashko2016-02-202-2/+18
|\ \ | | | | | | Value classes: add support for private[this] parameter
| * | Add support for private[this] parameter in value classesVladimirNik2016-02-192-2/+18
| | |
* | | Test that #1114 is fixed.Dmitry Petrashko2016-02-201-0/+21
| |/ |/|
* | Merge pull request #1066 from dotty-staging/fix-#997odersky2016-02-192-0/+66
|\ \ | | | | | | Fix #997
| * | Add error markersMartin Odersky2016-02-191-2/+2
| | |
| * | Move leak detection to CheckingMartin Odersky2016-02-191-0/+2
| | | | | | | | | | | | Also: include a test that private aliases are transparent.
| * | Add checking for leaking private definitionsMartin Odersky2016-02-191-0/+45
| | | | | | | | | | | | First version. Fixes #997.
| * | Copy access flags to derived definitions during desugaringMartin Odersky2016-02-191-0/+19
| |/ | | | | | | Previously, some definitions were too public, others too private.
* | Merge pull request #1072 from dotty-staging/change-isVolatile-2odersky2016-02-198-6/+605
|\ \ | |/ |/| Change is volatile 2
| * Allow Named Arguments in TypeArgsMartin Odersky2016-02-192-1/+27
| | | | | | | | Lets one also pass named arguments to methods.
| * Add some flexibility in comparing named and unnamed parameterized types.Martin Odersky2016-02-191-0/+58
| |
| * Fix problem of overloading resolution when receiver is not stable.Martin Odersky2016-02-191-0/+0
| |
| * Add test to illustrate overloading problem.Martin Odersky2016-02-191-0/+15
| |
| * More named param testsMartin Odersky2016-02-193-0/+437
| | | | | | | | Also, add an unrelated test file to pos.
| * Annotate test with // error indicationsMartin Odersky2016-02-191-6/+7
| | | | | | | | | | We had same fleyness in number of errors of cycle.scala which prompted this.
| * Check named type params for welformedness rules.Martin Odersky2016-02-191-0/+22
| |