summaryrefslogtreecommitdiff
path: root/test/files
Commit message (Collapse)AuthorAgeFilesLines
* Moved a test to pending.Aleksandar Pokopec2011-06-201-31/+0
| | | | | No review.
* Disabled failing test.Aleksandar Pokopec2011-06-201-0/+2
| | | | | No review.
* When TypeVars were given higher-order abilities...Paul Phillips2011-06-203-0/+11
| | | | | | | When TypeVars were given higher-order abilities, so too should have been WildcardType, which acts as a plceholder for typevars. Always inflicting arguments upon it was the cause of #2308. Closes #2308, review by moors.
* Fixed an overflow which occurs in hashtable siz...Aleksandar Pokopec2011-06-201-0/+29
| | | | | | | | Fixed an overflow which occurs in hashtable size computations. Fixes #4678. No review.
* Fixed an issue with higher kinded type inferenc...Paul Phillips2011-06-193-0/+64
| | | | | | | | Fixed an issue with higher kinded type inference on constructors without any help from adriaan. Provisionally notched belt. Wrapped up as many tickets as I added characters of code. Closes SI-3343, SI-4018. Review by moors.
* The usual unbreaking of broken builds, no review.Paul Phillips2011-06-181-1/+1
|
* Go back to printing the message that transcript...Paul Phillips2011-06-162-0/+6
| | | | | | Go back to printing the message that transcript pastes can be finished with ctrl-D. No review.
* closes #4692: unification in type constructor i...Adriaan Moors2011-06-151-0/+27
| | | | | | | | | | | closes #4692: unification in type constructor inference now widens *and* dealiases when necessary in 2.8.1 implicit conversion search started with a widened type, so that combo never came up no review
* Update manually created tree which was calling ...Paul Phillips2011-06-142-0/+4
| | | | | | | | Update manually created tree which was calling Predef.error to call scala.sys.error instead. Created convenience functions in Definitions for getting package objects akin to those for getting classes and objects. No review.
* closes #4547.Adriaan Moors2011-06-141-0/+4
| | | | | review by rompf -- odersky may want to take a quick look and update the spec
* Test case for implicits which unwrap typeclasse...Paul Phillips2011-06-135-8/+57
| | | | | | | Test case for implicits which unwrap typeclasses, something which must really live on the edge given the multiple ways we've busted it lately. Also some Array/signature and repl tests. No review.
* Views using methods implemented in terms of isE...Paul Phillips2011-06-132-0/+46
| | | | | | | | | | | | | | | Views using methods implemented in terms of isEmpty (in particular, headOption and lastOption) were traversing the collection twice up to the nonEmpty element, because "if (isEmpty) None else Some(head)" means calling isEmpty separately from head. I overrode those methods in TraversableViewLike to avoid the second traversal. This leaves at least init and tail still in that boat, but they were getting too involved. How do I say "review by pool of reviewers", who can help set that up? In the meantime no review.
* Don't issue unchecked warnings on higher-kinded...Paul Phillips2011-06-122-1/+3
| | | | | | Don't issue unchecked warnings on higher-kinded types. Closes #1439, review by moors.
* Fix for wrong results from groupBy on views.Paul Phillips2011-06-121-0/+11
|
* Reverts r25051 due to witnessed movement of sca...Paul Phillips2011-06-121-1/+1
| | | | | | Reverts r25051 due to witnessed movement of scalaz in the noncompiling direction. Postmortem help I hope in the review by moors.
* A test case demonstrating some of the issues wi...Paul Phillips2011-06-102-0/+131
| | | | | | A test case demonstrating some of the issues with DelayedInit. References #4680. Review by odersky.
* Compilation of spec-List enters an infinite loo...Paul Phillips2011-06-101-869/+0
| | | | | | | Compilation of spec-List enters an infinite loop under -optimise, disabling in the hopes of seeing a new build before I die. I'll put it back. No review.
* Tweaks repl tests to enforce -Yrepl-sync and ot...Paul Phillips2011-06-101-4/+1
| | | | | | | | | Tweaks repl tests to enforce -Yrepl-sync and other setup on all clients. Also includes some more why-do-tests-hang bosons for the particle accelerator in case that doesn't wrap it up. I think it will though, because now constrained-types is the only one which failed and it's also the only one which overrides Settings. No review.
* Modified erasure not to generate instance tests...Paul Phillips2011-06-072-0/+43
| | | | | | | | | | | Modified erasure not to generate instance tests for statically known types. It appears the production of types like "Foo with Bar" in the pattern matcher (where the scrutinee is known to be Foo) has been a major contributor of suboptimal pattern matches. I will also fix it in the matcher, but it makes sense to catch it in erasure as both a check on the matcher and because they may come from elsewhere too. Review by odersky.
* Lisp test wins again, no review.Paul Phillips2011-06-072-544/+0
|
* Proliferating the number of debugging modes bec...Paul Phillips2011-06-068-14/+14
| | | | | | | | | | | | | | Proliferating the number of debugging modes because it's still way too hard to see what's going on in there. Until we get hubert's type debugger with its whiz-bang whizbanginess, we'll have to struggle along with somewhat prettier ascii. This introduces: -Yinfer-debug which tries to print in readable fashion what is happening in the worlds of inference and implicit search. It should be made a bit more complementary and less overlappy with -Ytyper-debug. No review.
* Carved out access exception for java protected ...Paul Phillips2011-06-068-0/+68
| | | | | | Carved out access exception for java protected statics, which otherwise cannot be accessed from scala. Changes close status of #1806, no review.
* More polishing up repl power mode, no review.Paul Phillips2011-06-031-1/+0
|
* More adjustments to repl parsing to accomodate ...Paul Phillips2011-06-012-0/+27
| | | | | | More adjustments to repl parsing to accomodate inaccurately positioned parse trees. No review.
* The eagerly awaited companion commit to r23622,...Paul Phillips2011-06-012-3/+3
| | | | | | | | | | | | | | | The eagerly awaited companion commit to r23622, the surprise hit of last winter. Singletons now have the singleton type inferred in monomorphic contexts as well. In english: scala> object X defined module X scala> def f = X f: X.type Wait, that's not english. English review by moors.
* Fixed a repl regression with parentheses handli...Paul Phillips2011-05-312-0/+41
| | | | | | | | Fixed a repl regression with parentheses handling, reminding me we really need that honest parser phase which doesn't betray us with parentheses abandonment and dramatic desugarings. I'll promote it from page 14 to page 11. Closes #4661, no review.
* A getter with type params is still a getter.Paul Phillips2011-05-311-0/+6
| | | | | | | | There were two distinct bugs in here, which if I ran the world would be a wakeup call that robust software cannot emerge from thousands of lines of low-level AST matching. In case you are frozen in suspense: I do not run the world. Review by moors.
* Restored the lisp.scala test.Paul Phillips2011-05-312-0/+544
| | | | | test in r25038, so closes #4512, no review.
* Cleaning up power mode import issues (and the a...Paul Phillips2011-05-312-0/+28
| | | | | | Cleaning up power mode import issues (and the amazing first power mode test) no review.
* Now :t types declarations as well as expression...Paul Phillips2011-05-294-26/+80
| | | | | | | Now :t types declarations as well as expressions, and cleans up the output the same way the repl does so stray unsolved type constraints don't befuddle anyone. Closes #4391, no review.
* Give some feedback on invalid :type expressions.Paul Phillips2011-05-292-0/+26
|
* Fixed a crasher in the scanner when unicode esc...Paul Phillips2011-05-292-0/+5
| | | | | | | | Fixed a crasher in the scanner when unicode escape sequences offered up EOF before completion. Also made the repl a little more robust against crashers in scalac. Treat it like a hostile witness! Closes #4584, no review.
* Each of the three commits preceding this are to...Paul Phillips2011-05-291-0/+158
| | | | | | | | | | | Each of the three commits preceding this are to correct regressions which would have been caught by the interpreter test and never checked in in the first place, were it not disabled. The windows tax claims another victim. Or three victims. Re-enabled the interpreter test. No way for me to know if it will pass everywhere without trying it. No review.
* Fixing an interpreter output regression and upd...Paul Phillips2011-05-291-1/+1
| | | | | | Fixing an interpreter output regression and updated repl debugging and tracing code. No review.
* Yikes, prependToList was violating List immutab...Paul Phillips2011-05-282-0/+14
| | | | | | Yikes, prependToList was violating List immutability. Closes #4656, no review.
* Overcoming limitations of the repl, multiple-tr...Paul Phillips2011-05-272-0/+52
| | | | | | | | | | | | | | | | | | Overcoming limitations of the repl, multiple-tree lines and assignments. The best part of nicely documented limitations is that you can stare at the same comment for years and then the day comes when you give it the heave-ho. Exhibit A (regarding a single bare expression): "This is necessary due to it being hard to modify code at a textual level, and it being hard to submit an AST to the compiler." Yes, it IS hard to modify code at a textual level (see enclosed patch) but we won't let that stop us anymore. Closes #4578. Exhibit B (regarding the left hand side of assignments having to be Ident): "An unfortunate limitation." Unfortunate no longer! No review.
* Finished reverting the misbegotten r23262, no r...Paul Phillips2011-05-263-18/+5
| | | | | Finished reverting the misbegotten r23262, no review.
* Fix for failing { val x = classOf[List[_]] } in...Paul Phillips2011-05-233-0/+10
| | | | | | | Fix for failing { val x = classOf[List[_]] } introduced by paulp in r23262. I already had this in mind (see comments of #4419) but I was holding back in the runup to 2.9. Closes #4419, review by odersky.
* Reverts a change as a tribute to the performanc...Paul Phillips2011-05-231-1/+11
| | | | | Reverts a change as a tribute to the performance gods, no review.
* Regression in Enumeration caused some nullary m...Paul Phillips2011-05-222-0/+9
| | | | | | Regression in Enumeration caused some nullary methods to pose as fields. Closes #4570, no review.
* Making Range creation less slow, no review.Paul Phillips2011-05-211-1/+1
|
* Removes SUnit (long deprecated!) from the stand...Paul Phillips2011-05-1925-1293/+1141
| | | | | | | | | | | | Removes SUnit (long deprecated!) from the standard library. the relatively small number of partest tests in Scala's suite that were still using SUnit now either just use regular asserts, or they print stuff that partest checks with a .check file. Also fixed some bad indentation, removed ancient useless-looking commented-out code, etc. Contributed by Seth Tisue (way to go seth) no review.
* Suppress unwanted noise generated by javac when...Paul Phillips2011-05-193-6/+4
| | | | | | | | | | | | | Suppress unwanted noise generated by javac when compiling test case for #1263. formerly the test case caused this to be printed: Note: test/files/pos/t1263/Test.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. we suppress this using @SuppressWarnings. Contributed by Seth Tisue, no review.
* Apparent assumption that Literal(0) would be ad...Paul Phillips2011-05-192-0/+16
| | | | | | | Apparent assumption that Literal(0) would be adapted to Literal(0.0f) as necessary mercilessly invalidated. Fixed mkZero to account for all types explicitly. Closes #4617, no review.
* Fixes and closes #4608.Aleksandar Pokopec2011-05-191-0/+11
| | | | | No review.
* Fixed #4593.Iulian Dragos2011-05-171-0/+20
|
* Closes 4560. Review by dragos.Martin Odersky2011-05-162-0/+17
|
* Temporarily sending lisp.scala to be interprete...Paul Phillips2011-05-152-544/+0
| | | | | | | | Temporarily sending lisp.scala to be interpreter.scala's equally memory hungry buddy in pending. References #4512. This should be straightened out imminently, but I will solve this more easily by looking forward, not backward. No review.
* Fix for view+groupBy closes #4558, no review.Paul Phillips2011-05-141-0/+6
|
* Regenerated automated tests for inner objects.Iulian Dragos2011-05-112-5802/+1053
| | | | | | single threaded and multi-threaded access, plus private objects. Should catch most possible nesting of objects.