summaryrefslogtreecommitdiff
path: root/test/files/positions
Commit message (Collapse)AuthorAgeFilesLines
* deprecate Pair and TripleDen Shabalin2013-11-203-3/+3
|
* Cull extraneous whitespace.Paul Phillips2013-09-188-16/+16
| | | | | | | | | | | | | | | | | | | | | One last flurry with the broom before I leave you slobs to code in your own filth. Eliminated all the trailing whitespace I could manage, with special prejudice reserved for the test cases which depended on the preservation of trailing whitespace. Was reminded I cannot figure out how to eliminate the trailing space on the "scala> " prompt in repl transcripts. At least reduced the number of such empty prompts by trimming transcript code on the way in. Routed ConsoleReporter's "printMessage" through a trailing whitespace stripping method which might help futureproof against the future of whitespace diseases. Deleted the up-to-40 lines of trailing whitespace found in various library files. It seems like only yesterday we performed whitespace surgery on the whole repo. Clearly it doesn't stick very well. I suggest it would work better to enforce a few requirements on the way in.
* Begone t1737...Hubert Plociniczak2011-11-028-16/+16
|
* Reversed the values of "is" and "is not" in rec...Paul Phillips2011-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Reversed the values of "is" and "is not" in recent for comprehension deprecation. DO NOT BLOW HATCH REPEAT DO NOT BLOW HATCH "Roger! Hatch blown." Events reveal it was all baby, no bathwater. It turns out that the specification is merely a document, not infallible holy writ as we had all previously believed. So it is not the ABSENCE of val in a for comprehension assignment which is deprecated, it is the PRESENCE of val. Summarizing again, more accurately perhaps: for (x <- 1 to 5 ; y = x) yield x+y // THAT's the one for (val x <- 1 to 5 ; y = x) yield x+y // fail for (val x <- 1 to 5 ; val y = x) yield x+y // fail for (x <- 1 to 5 ; val y = x) yield x+y // deprecated No review.
* Fix from Mirko Stocker and unit test for #3416.Miles Sabin2010-05-111-0/+3
|
* Fix and test case for #3031. Review by odersky.Miles Sabin2010-02-171-0/+5
|
* Fix and test case for #2891. No review necessary.Miles Sabin2010-01-181-0/+3
|
* Fixes for various Scaladoc-related positions re...Miles Sabin2010-01-153-0/+22
| | | | | | Fixes for various Scaladoc-related positions regressions with tests. Review by dubochet.
* Fix and test for #1674; we aren't supposed to b...Miles Sabin2009-10-191-0/+3
| | | | | | | Fix and test for #1674; we aren't supposed to be validating positions if there are syntax errors ... ensure that's so; we are supposed to be validating positions when -Yide-debug is set ... ensure that's so.
* Scaladoc comment position fixes with tests; sca...Miles Sabin2009-10-147-0/+92
| | | | | | | Scaladoc comment position fixes with tests; scaladoc comment postions are now accessible by symbol; respond retry in interactive Global is now handled properly.
* Fix and tests for positions issues with context...Miles Sabin2009-10-014-0/+12
| | | | | | | | Fix and tests for positions issues with context/view bounds and multiple definitions; extended the ranges for defns/decls to cover their introducing keywords; removed an unused IDE hook; some whitespace cleanup.
* A couple more positions issues caused by the pa...Miles Sabin2009-07-282-0/+1
| | | | | | | A couple more positions issues caused by the packaging changes: fixed with test cases; test.positions target now runs the explicit test cases first.
* Fix for another positions issue; added some pos...Miles Sabin2009-07-279-0/+37
Fix for another positions issue; added some positions unit tests; added test.positions target to build.xml which validates positions of all sources in the Scala tree; cleaned up -Yide-debug output for use in the previous item.