summaryrefslogtreecommitdiff
path: root/test/files/run/names-defaults.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-8117 Fix bug when mixing well-positioned named and positional argsLukas Rytz2014-07-111-0/+4
| | | | | | The method `missingParams` which returns undefined parameters of a given invocation expression still assumed that named arguments can only appear after positional ones.
* SI-7003 Partest redirects stderr to log fileSom Snytt2013-05-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some scalac output is on stderr, and it's useful to see that in the log file, especially for debugging. Adds a line filter for logs, specified as "filter: pattern" in the test source. Backslashes are made forward only when detected as paths. Test alignments: Deprecations which do not pertain to the system under test are corrected in the obvious way. When testing deprecated API, suppress warnings by deprecating the Test object. Check files are updated with useful true warnings, instead of running under -nowarn. Language feature imports as required, instead of running under -language. Language feature not required, such as casual use of postfix. Heed useful warning. Ignore broken warnings. (Rarely, -nowarn.) Inliner warnings pop up under -optimise only, so for now, just filter them out where they occur. Debug output from the test required an update.
* Fix SI-5009: case-class copy method now eta-expands over higher parameter lists.Lukas Rytz2012-05-111-2/+2
| | | | | | | | | 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)).
* close #4441. no reviewLukas Rytz2011-05-101-0/+5
|
* close #4041. review by extemporeLukas Rytz2011-03-181-0/+8
|
* Renamed Application to App.Martin Odersky2011-02-211-1/+1
|
* close #4036, fix #2489.Lukas Rytz2010-12-031-0/+1
|
* fixes names/defaults when using :_* for specify...Lukas Rytz2010-08-051-0/+17
| | | | | | fixes names/defaults when using :_* for specifying repeated parameters. close #3697, no review.
* added @deprecatedName annotation, allowing to d...Lukas Rytz2010-08-031-0/+16
| | | | | | added @deprecatedName annotation, allowing to deprecate parameter names. review by prokopec.
* close #3648.Lukas Rytz2010-07-091-0/+5
|
* removed integration of placeholder syntax and n...Lukas Rytz2010-06-161-12/+12
| | | | | | removed integration of placeholder syntax and named arguments. review by odersky
* close #3338, close #3334, close #3345.Lukas Rytz2010-04-251-0/+21
|
* close #3207. review by oderskyLukas Rytz2010-04-091-0/+21
|
* close #3178. review by communityLukas Rytz2010-04-011-0/+8
|
* Removing defaultGetter field from TermSymbols.Lukas Rytz2010-01-281-0/+3
|
* close #2929.Lukas Rytz2010-01-251-0/+4
|
* close #2820Lukas Rytz2009-12-211-0/+6
|
* closes #2784Lukas Rytz2009-12-101-0/+6
|
* another test for #2489Lukas Rytz2009-12-021-0/+9
|
* avoid illegal forward references by moving synt...Lukas Rytz2009-11-121-0/+3
| | | | | | avoid illegal forward references by moving synthetics to the beginning of the statement-list. fixes #2489
* fix #2488.Lukas Rytz2009-11-121-0/+2
|
* Fixed #2494, plus some reorganization of swing ...Martin Odersky2009-10-271-1/+1
| | | | | Fixed #2494, plus some reorganization of swing imports
* fix #2390Lukas Rytz2009-09-241-1/+3
|
* fix for #2382Lukas Rytz2009-09-241-0/+3
|
* fixed #2290 and #2325Lukas Rytz2009-09-241-0/+7
|
* fix #2268Lukas Rytz2009-09-111-0/+6
|
* fixed a bug with defaults reported on mailing listLukas Rytz2009-07-241-0/+7
|
* fix #2122, test for #2116Lukas Rytz2009-07-051-1/+2
|
* minor cleanups for named argsLukas Rytz2009-06-301-0/+1
|
* named arguments only at top level in () paramet...Lukas Rytz2009-06-251-2/+7
| | | | | named arguments only at top level in () parameters.
* improvements to names / defaults (implicits, ty...Lukas Rytz2009-06-201-0/+43
| | | | | | improvements to names / defaults (implicits, type of defaults, #2064, ...)
* allow using named / default arguments in self- ...Lukas Rytz2009-06-151-1/+38
| | | | | | allow using named / default arguments in self- and super constructor calls. fixes #2050 and #2052.
* - fixed #2057Lukas Rytz2009-06-151-0/+7
| | | | | - Symbol.annotations now first calls .initialize
* removed code for parsing old pickle format.Lukas Rytz2009-06-031-0/+15
|
* named argument disallowed when assignment expre...Lukas Rytz2009-06-021-0/+9
| | | | | | named argument disallowed when assignment expression would typecheck. minor fixe to names / defaults.
* Named and default argumentsLukas Rytz2009-05-301-0/+222
- MethodTypes now have (params: List[Symbol]) - "copy"-methods for case classes - the "copy" object in the compiler is now called "treeCopy"