aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/ast
Commit message (Collapse)AuthorAgeFilesLines
* Ref copier that works for Idents and SelectsMartin Odersky2016-12-172-1/+7
| | | | | The Ref copier copies Idents and Selects, changing the name of either.
* Create implicit closures to math expected implicit functionsMartin Odersky2016-12-173-12/+29
| | | | | When the expected type is an implicit function, create an implicit closure to match it.
* Cleanup of implicit modifiers schemeMartin Odersky2016-12-171-1/+1
| | | | | Implicit modifiers were quite irregular compared to the other ones. This commit does a cleanup.
* Refactor function operations in DefinitionsMartin Odersky2016-12-171-1/+3
| | | | | | | | | Also: show implicit function types correctly. Also: refine applications of implicit funcitons - don't do it for closure trees - don't do it after typer.
* Add syntax for implicit functionsMartin Odersky2016-12-171-0/+4
|
* Merge pull request #1801 from dotty-staging/fix-#1790Dmitry Petrashko2016-12-161-3/+1
|\ | | | | Fix #1790: Change by-name pattern matching.
| * Implement new rules for name-based pattern matchingMartin Odersky2016-12-151-3/+1
| | | | | | | | This implements the rules laid down in #1805.
* | Drop explicit types for local implicit valsMartin Odersky2016-12-121-4/+4
|/ | | | | Drop explicit types for local implicit vals of type Context and Position. Exercises the functionality and shortens the code.
* Merge pull request #1768 from dotty-staging/fix-#1765odersky2016-12-101-5/+10
|\ | | | | Fix #1765: Context bounds and denotation handling
| * Handle hk types with context bounds in desugarMartin Odersky2016-12-021-5/+10
| | | | | | | | | | | | With the change to the representation of higher-kinded type definitions, context bounds could be hidden in the body of a type lambda. Need to compensate for that.
* | fix #1773: handle patterns in interpolated stringliu fengyun2016-12-081-0/+6
|/
* Clean up importsMartin Odersky2016-12-011-1/+1
| | | | | Honor the new scheme where any explicit import of a root import will disable the root import.
* fix #1748: desugaring with StringContext in PatDefliu fengyun2016-11-271-0/+2
|
* TypedTreeCopier#Select: don't use unstable prefixesGuillaume Martres2016-11-221-1/+1
| | | | | | | | | This manifested itself as a pickling difference in tasty_tools Note that there are probably more issues in this method, in particular the old type is reused when `qualifier.tpe eq tree.qualifier.tpe` even if the `name` is different. But I'm only trying to get the tests to pass for now.
* Fix flags for default getters of constructorsGuillaume Martres2016-11-221-1/+1
| | | | This manifested itself as a pickling difference in tasty_tools
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-2210-0/+5476