aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/autoTuplingTest.scala
Commit message (Collapse)AuthorAgeFilesLines
* Neg tests: remove negTest flag; neg tests are binded to neg directoryVladimirNik2016-03-031-2/+2
|
* Adapt neg tests to new neg tests checksVladimirNik2016-02-181-1/+1
|
* Negtests with // error commentsvsalvis2016-02-181-2/+2
|
* Added auto-tupling.Martin Odersky2014-03-201-0/+9
Auto-tupling should satisfy the following spec. 1. An application `f(args)` where `f` is a non-overloaded method which has a single, non-repeated parameter as its first parameter list and where args consists of two or more arguments is expanded to `f((args))`. 2. A constructor pattern `C(args)` where `C.unapply` is a non-overloaded method which has a single, non-repeated parameter as its first parameter list and where args consists of two or more arguments is expanded to `C((args))`. Auto-tupling can be disabled by language feature "noAutoTupling". Conflicts: test/dotc/tests.scala