| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Fix SI-2488: allow named arg, in original position, before positionals
|
| | |
|
|\ \
| | |
| | | |
Fix SI-5801: error messages regression.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fixes SI-4461.
|
| | | |
| | | |
| | | |
| | | | |
No review.
|
|\ \ \ \
| | | | |
| | | | | |
Fix SI-5544
|
| | |_|/
| |/| |
| | | |
| | | | |
Type-check annotations in a context with a localDummy owner
|
|\ \ \ \
| | | | |
| | | | | |
SIP-14: clean ups and fixes by @viktorklang
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Fix 4138
|
| | |/ /
| |/| | |
|
|\ \ \ \
| |/ / /
|/| | | |
Test case for SI-3844 - fixed by #virtpatmat @adriaanm
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
Fix SI-4928
|
| | | |
| | | |
| | | |
| | | | |
better error message when a parameter is first defined positionally, then with a named argument.
|
|\ \ \ \
| | | | |
| | | | | |
Added infrastructure to enable easy enrichment of GenTraversables.
|
| | |/ /
| |/| | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since ae5ff662, resetAttrs duplicates trees, which doesn't preserve ApplyConstructor.
My attempt to modify TreeCopier to do so proved trickier than expected.
In any case, ApplyConstructor is not long for this world, and is only used in tree printing
to distinguish `new X` from regular Apply trees, so this should suffice pending full surgery.
|
|\ \ \
| | | |
| | | | |
Fix SI-5259
|
| | | |
| | | |
| | | |
| | | | |
Calling the type checker on an Ident tree instead of using gen.mkAttributedRef assigns a SingleType to the tree.
|
|\ \ \ \
| |_|/ /
|/| | | |
Fix for SI-5610
|
| |/ / |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Culling accumulated unnecessary code.
|
|/ /
| |
| |
| | |
And undeprecated Positional.
|
| | | |
| \ | |
| \ | |
| \ | |
| \ | |
| \ | |
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
'refs/pull/549/head'; commit 'refs/pull/550/head'; commit 'refs/pull/551/head' into develop
|
| | | | |/ |
|
| | | |/ |
|
| | | |
| | | |
| | | |
| | | | |
make TreeInfo recognize constructor calls after named arguments transformation.
|
|/ / / |
|
| | | | |
| \ \ | |
|\ \ \ \
| | | | |
| | | | |
| | | | | |
'refs/pull/546/head' into develop
|
| |/ / /
| | | |
| | | |
| | | | |
virtpatmat strikes again.
|
| |\| | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Don't print trees under -Xprint:all if they're identical to the
tree printed at the previous phase. It only works for a single
compilation unit but that is a huge step forward for us debuggers.
For instance this file:
trait Foo { def f = 5 }
used to produce 332 lines of output and now produces 92, with
zero loss of information. It ends with:
[[syntax trees at end of cleanup]] // a.scala: tree is unchanged since mixin
[[syntax trees at end of icode]] // a.scala: tree is unchanged since mixin
[[syntax trees at end of inliner]] // a.scala: tree is unchanged since mixin
[[syntax trees at end of inlineExceptionHandlers]] // a.scala: tree is unchanged since mixin
[[syntax trees at end of closelim]] // a.scala: tree is unchanged since mixin
[[syntax trees at end of dce]] // a.scala: tree is unchanged since mixin
[[syntax trees at end of jvm]] // a.scala: tree is unchanged since mixin
|
| | | | | |
| | \ \ | |
| | \ \ | |
| | \ \ | |
| | \ \ | |
| | \ \ | |
| | \ \ | |
| | \ \ | |
| | \ \ | |
| | \ \ | |
| | \ \ | |
| | \ \ | |
| | \ \ | |
| | \ \ | |
| |\ \ \ \ \ \ \ \ \ \
| | |_|_|_|_|_|_|_|/ /
| |/| | | | | | | | |
| | | | | | | | | | | |
'scalamacros/topic/macrocherrypick', 'lrytz/t5626', 'lrytz/t5009', 'retronym/ticket/5029', 'retronym/ticket/4025', 'retronym/topic/quieter-nsdhnao' and 'retronym/ticket/1133' into develop
|
| | | | | | | | |/ /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Closes SI-1133, thanks virtpatmat.
|
| | | | | | | |/ /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Not due to virtpatmat, mind you; it passes with -Xoldpatmat.
Closes SI-4025.
|
| | | | | | |/ /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Test case closes SI-5029.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Example: Given
case class C(a: Int)(b: Int)
if you call (new C(1)(2)).copy(a = 10)), you get a function (f: Int => C) such
that (f.apply(20)) yields a (new C(10)(20)).
|
| | | | |/ / /
| | | | | | |
| | | | | | |
| | | | | | | |
By not replacing 'CaseClass.apply()' factor by 'new CaseClass()' when the class type 'CaseClass' is not accessible.
|
| | | |_|/ /
| | |/| | |
| | | | | |
| | | | | | |
It still breaks as described in the ticket under -Xoldpatmat.
|
|/ / / / / |
|
| | | | | | |
| \ \ \ \ | |
| \ \ \ \ | |
| \ \ \ \ | |
| \ \ \ \ | |
| \ \ \ \ | |
|\ \ \ \ \ \ \ \
| | | |_|_|_|/ /
| | |/| | | | |
| | | | | | | | |
'refs/pull/532/head'; commit 'refs/pull/533/head'; commit 'refs/pull/534/head' into develop
|
| | | | |/ / /
| | | | | | |
| | | | | | |
| | | | | | | |
This looks like a job for... virtpatmat!
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Also fixed by annotation/enum commit.
|
| | | |/ / /
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixed up one of the mismatches between how java source is modeled
and how java bytecode is modeled. We should get the rest of them
too. Closes SI-2764.
|
| | |/ / / |
|