aboutsummaryrefslogtreecommitdiff
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* checkNoPrivateLeaks is now also done in TreeUnpicklerGuillaume Martres2016-11-222-0/+8
| | | | | This could be abstracted better but we'll end up replacing checkNoPrivateLeaks soon anyway due to https://github.com/lampepfl/dotty/issues/1723
* checkNoPrivateLeaks: handle defs in local classesGuillaume Martres2016-11-221-1/+1
| | | | | | The access boundary of a def in a local class is the owner of that class, previously it was set to the access boundary of the owner of the class instead.
* checkNoPrivateLeaks: handle references to companion membersGuillaume Martres2016-11-221-2/+16
| | | | | | | | | | | Previously Outer2#Inner#foo failed to compile with: ``` non-private method foo refers to private value x in its type signature ``` This should compile because the boundary of `foo` is `class Outer2` and the boundary of `x` is `object Outer2`. This commit fixes this by also considering the linked boundary in `checkNoPrivateLeaks`.
* TreeUnpickler: Add missing case for ENUMconstGuillaume Martres2016-11-221-0/+2
|
* -Ytest-pickler: avoid forcing anything when there's a differenceGuillaume Martres2016-11-221-1/+1
| | | | | This might cause a stale symbol exception and make it harder to find the source of the problem.
* -Ytest-pickler: homogenize template body output orderGuillaume Martres2016-11-221-1/+14
|
* 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-222-1/+9
| | | | This manifested itself as a pickling difference in tasty_tools
* Move `dottydoc` -> `doc-tool`Felix Mulder2016-11-229-0/+3343
|
* Remove unused examples dir, duplicate contained in tests/posFelix Mulder2016-11-222-3/+1
|
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-22325-0/+86404