aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/lazyValsSepComp.scala
Commit message (Collapse)AuthorAgeFilesLines
* Drop function 22 limit.Martin Odersky2016-11-301-1/+1
| | | | | | | | | | | | | | | | | | | Functions with more than 22 parameters are now automatically converted to functions taking a single object array parameter. This has been achieved by tweaking erasure. Other things I have tried that did ot work out well: - Use a single function type in typer. The problem with this one which could not be circumvented was that existing higher-kinded code with e.g. Funcor assumes that Functon1 is a binary type constructor. - Have a late phase that converts to FunctonXXL instead of doing it in erasure. The problem with that one was that potentially every type could be affected, which was ill-suited to the architecture of a miniphase.
* Make symbol methods in Definitions depend on implicit contextMartin Odersky2015-11-091-1/+1
| | | | | | | Otherwise they would always return the symbol in the original context where Definitions was first created. Also, cache two more arrays of symbols per run.
* Fix problems with lazy vals and separate compilationDmitry Petrashko2015-02-031-0/+16
Somehow this error manifested itself in a quite weird way during erasure. So it was hard to track down