summaryrefslogtreecommitdiff
path: root/test/files/run/names-defaults.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-9847 Nuance pure expr statement warningSom Snytt2016-07-081-1/+4
| | | | | | | | | | Clarify the current warning, which means that an expression split over multiple lines may not be parsed as naively expected. When typing a block, attempt minor nuance. For instance, a single expression is not in need of parens. Try to avoid duplicate warnings for expressions that were adapted away from result position.
* SI-8117 Fix bug when mixing well-positioned named and positional argsLukas Rytz2014-07-111-0/+1
| | | | | | The method `missingParams` which returns undefined parameters of a given invocation expression still assumed that named arguments can only appear after positional ones.
* Use countElementsAsString for summarized warnings.Adriaan Moors2014-07-041-1/+1
|
* SI-8185 Correct grammar for single-warning compilation runFrançois Garillot2014-05-141-1/+1
|
* SI-7003 Partest redirects stderr to log fileSom Snytt2013-05-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | 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 #4041. review by extemporeLukas Rytz2011-03-181-0/+1
|
* fixes names/defaults when using :_* for specify...Lukas Rytz2010-08-051-0/+10
| | | | | | fixes names/defaults when using :_* for specifying repeated parameters. close #3697, no review.
* added @deprecatedName annotation, allowing to d...Lukas Rytz2010-08-031-0/+3
| | | | | | added @deprecatedName annotation, allowing to deprecate parameter names. review by prokopec.
* removed integration of placeholder syntax and n...Lukas Rytz2010-06-161-18/+3
| | | | | | removed integration of placeholder syntax and named arguments. review by odersky
* Removing defaultGetter field from TermSymbols.Lukas Rytz2010-01-281-0/+1
|
* close #2929.Lukas Rytz2010-01-251-0/+1
|
* fix #2488.Lukas Rytz2009-11-121-0/+4
|
* fix #2268Lukas Rytz2009-09-111-0/+5
|
* minor cleanups for named argsLukas Rytz2009-06-301-0/+1
|
* named arguments only at top level in () paramet...Lukas Rytz2009-06-251-0/+4
| | | | | named arguments only at top level in () parameters.
* improvements to names / defaults (implicits, ty...Lukas Rytz2009-06-201-1/+8
| | | | | | improvements to names / defaults (implicits, type of defaults, #2064, ...)
* allow using named / default arguments in self- ...Lukas Rytz2009-06-151-1/+6
| | | | | | allow using named / default arguments in self- and super constructor calls. fixes #2050 and #2052.
* removed code for parsing old pickle format.Lukas Rytz2009-06-031-1/+2
|
* named argument disallowed when assignment expre...Lukas Rytz2009-06-021-0/+4
| | | | | | named argument disallowed when assignment expression would typecheck. minor fixe to names / defaults.
* Named and default argumentsLukas Rytz2009-05-301-0/+90
- MethodTypes now have (params: List[Symbol]) - "copy"-methods for case classes - the "copy" object in the compiler is now called "treeCopy"