summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Based on the frequency with which I hear questi...Paul Phillips2011-02-205-1/+17
| | | | | | | | | | | | | | | | | Based on the frequency with which I hear questions about it and similar, this error message assumes too much understanding. scala> scala.collection.mutable.MultiMap(1, 2, 3) <console>:8: error: value MultiMap is not a member of package scala.collection.mutable Now it says: scala> scala.collection.mutable.MultiMap(1, 2, 3) <console>:8: error: object MultiMap is not a member of package scala.collection.mutable Note: trait MultiMap exists, but it has no companion object. No review.
* Test case closes #3137, no review.Paul Phillips2011-02-201-0/+17
|
* Rediscovering that transpose sometimes throws a...Paul Phillips2011-02-191-0/+12
| | | | | | | | | | | | Rediscovering that transpose sometimes throws an exception on irregular lists and sometimes returns an irregular result (depending on whether the first collection is the longest or not) indicated that this needs a better resolution than the status quo. Determination: as long as we're throwing an exception on any invalid input, we should throw an exception on all invalid input, so that's what it does now. I postpone any attempt to offer a variation accepting a "hole value". Closes #3597, review by community.
* Test case closes #3861, no review.Paul Phillips2011-02-181-0/+2
|
* Test case closes #2070. No review.Paul Phillips2011-02-182-0/+15
|
* Added a missing test case for the previous commit.Aleksandar Pokopec2011-02-161-0/+15
| | | | | No review.
* Revert "Added missing string prefixes for names...Aleksandar Pokopec2011-02-152-17/+17
| | | | | | | | Revert "Added missing string prefixes for names of map and set collection classes." and related commits. No review.
* Another fix for a broken test case involving ne...Aleksandar Pokopec2011-02-151-2/+2
| | | | | | | | Another fix for a broken test case involving new set and map string reps. No review.
* Fixing tests depending on map and set string re...Aleksandar Pokopec2011-02-142-15/+15
| | | | | Fixing tests depending on map and set string representations. No review.
* A fix for #4243.Aleksandar Pokopec2011-02-141-0/+18
| | | | | No review.
* Test case closes #4173. No review.Paul Phillips2011-02-141-0/+4
|
* Added new setting -Ygen-javap, which takes a di...Paul Phillips2011-02-141-1/+2
| | | | | | | | Added new setting -Ygen-javap, which takes a directory as an argument and generates javap output for every generated classfile. There is still a lot of noise in a diff: still todo is postprocessing the output to remove diff-noise-generating numbers and such. No review.
* Closes #3140, #4245. no reviewHubert Plociniczak2011-02-136-0/+27
|
* I chased a lot of ghosts before finding the rea...Paul Phillips2011-02-111-15/+17
| | | | | | | | | | | | | I chased a lot of ghosts before finding the real culprit for why partest failures have been unfailing. Process(Seq("bash", "-c", "exit 42")) ! // 42 Process(Seq("bash", "-c", "exit 42")) #> logFile ! // 0 That behavior is not yet fixed, but I altered partest not to use #> and fixed the test which should have been failing but wasn't. Closes #4227, no review.
* Fix for #4188.Paul Phillips2011-02-111-0/+6
| | | | | | | | It seems to arise from the changes to inner objects which make them look like lazy vals. I am not sure this is the right change but at least it's only about a six character diff to review. Closes #4188, review by odersky.
* Created invisible setting to expose empty packa...Paul Phillips2011-02-101-2/+5
| | | | | | | | | Created invisible setting to expose empty package members outside of the empty package, so the repl can use packages without going blind to the empty package. This commit also eliminates a deadlock which hits when the compiler starts logging before a lazy val has pulled its head from the noose. Closes #4228, review by odersky.
* In support of project "A Better IDE...Paul Phillips2011-02-104-0/+0
| | | | | | | | | | | | | | | | reinstate the disabled test. COMMITTERS: the test is very fragile. If you don't run the whole test suite (it's the very last one which runs!) then you broke the build. Upon your toes you should be. For anyone unaware, test/partest --update-check path/to/test will magically pass any test and update the checkfile to resemble whatever output it just produced. Incautious use of this feature may negatively impact the mood of certain extempores. No review.
* After seeing the 481 line diff I had to apply t...Paul Phillips2011-02-104-162/+151
| | | | | | | | | | After seeing the 481 line diff I had to apply to bring the checkfile up to date, I concluded this test cannot be in the general pool: this is the third build break in the last few days, because it changes output like some people change socks. (Hygenic people.) Sorry to move it to disabled iulian, but I don't know what else to do with it on short notice. Review by dragos.
* A missing test.Aleksandar Pokopec2011-02-092-0/+52
| | | | | No review
* Applied a few more fixes for specialization and...Aleksandar Pokopec2011-02-091-1/+1
| | | | | | Applied a few more fixes for specialization and added a new instrumented jar. Review by dragos.
* Test case uncommented.Aleksandar Pokopec2011-02-091-32/+32
|
* Added a test case for anyref specialization.Aleksandar Pokopec2011-02-096-1/+453
|
* Improved an error message involving overload+de...Paul Phillips2011-02-092-0/+16
| | | | | | Improved an error message involving overload+default args. Closes #3909, no review.
* Some cleanup from investigating #4041, with a c...Paul Phillips2011-02-091-6/+6
| | | | | | Some cleanup from investigating #4041, with a comment instead of a fix for the ticket. Review by rytz in case he sees a good way to fix it.
* Fixed failing test. no reviewHubert Plociniczak2011-02-081-2/+3
|
* Closes #4215. review by oderskyHubert Plociniczak2011-02-083-0/+13
|
* Closes #3986 plus some cleanup. no reviewHubert Plociniczak2011-02-081-0/+5
|
* Guess I can't have a javap test with no javap.Paul Phillips2011-02-072-0/+0
|
* Added all the javap command line options to :ja...Paul Phillips2011-02-072-0/+42
| | | | | Added all the javap command line options to :javap. No review.
* The comment for isCoDefinedWith has long saidPaul Phillips2011-02-071-0/+7
| | | | | | | | | | | Is this symbol defined in the same scope and compilation unit as `that' symbol? But "same scope" was never checked, only "same compilation unit." Presumably other layers of logic kept this from being noticed until now, but it has been crashing sbt. Added check to isCoDefinedWith. Closes #4220, review by odersky.
* Fix for parser regression allowing 0-case match...Paul Phillips2011-02-072-0/+7
| | | | | | Fix for parser regression allowing 0-case match blocks. Closes #4217, no review.
* Fix for failing test.Paul Phillips2011-02-061-1/+2
| | | | | | anything fail. This test might be a bit overly output-sensitive to be in the general pool... no review.
* Re-enabled test spec-traits (removed the swing ...Iulian Dragos2011-02-051-19/+0
| | | | | | Re-enabled test spec-traits (removed the swing dependent part, since all it tested was call-by-name parameters). no review.
* [scaladoc] Likely fix for broken build.Gilles Dubochet2011-02-041-2/+9
|
* After discovering #3376 was fixed I gave in and...Paul Phillips2011-02-043-35/+36
| | | | | | | | After discovering #3376 was fixed I gave in and tried to write a test. Now that the fiddling is over you can write repl tests without creating 5000 streams and settings. Look at test/files/run/bug3376.scala or jvm/interpreter.scala to see. Test case closes #3376, no review.
* Switched back to StoreReporter for presentation...Iulian Dragos2011-02-034-0/+0
| | | | | | | | Switched back to StoreReporter for presentation compiler tests. This eats up error messages, but if the output is correct we don't mind a spurious error here and there. Renabled simple presentation compiler tests. no review.
* Updated completion tests, still waiting for a d...Iulian Dragos2011-02-022-51/+261
| | | | | | Updated completion tests, still waiting for a divergent implicits fix in the presentation compiler. no review.
* I keep seeing huge simplifications available in...Paul Phillips2011-02-012-4/+4
| | | | | | | | | I keep seeing huge simplifications available in the repl. Lot of interesting features have come to town since it was first conceived. In this commit I give the internal names some tips on aesthetics, and put each line in its own package like civilized artificial constructs. No review.
* I found more situations where primitive types w...Paul Phillips2011-02-011-0/+11
| | | | | | | | I found more situations where primitive types were appearing in signatures. I hacked in a flag which says boxing is or is not allowed. The code is getting hideous: foortunately I have it mostly rewritten, but I wanted to fix this bug now. No review.
* There is a lot of housecleaning to be done.Paul Phillips2011-01-291-3/+3
| | | | | | | | | | | | up the stray interpreter files and put them in the interpreter package. Would really love to change the name of that package. Went looking for some consistent divisions of responsibility and consistent naming. Made some progress. There are deprecated versions of most everything I changed so hopefully the carnage will be limited. This isn't completely baked but I just realized I broke the build earlier and this should fix it. I'll keep the oven on. No review.
* Fixed some generic signature bugs I found thank...Paul Phillips2011-01-282-0/+8
| | | | | | Fixed some generic signature bugs I found thanks to the compiler telling me it was buggy. Thanks compiler. No review.
* A raw tree was making its way into an error mes...Paul Phillips2011-01-284-6/+12
| | | | | | A raw tree was making its way into an error message. Removed. Closes #4196, no review.
* Forgot to commit the updated tests in my previo...Iulian Dragos2011-01-282-3/+0
| | | | | Forgot to commit the updated tests in my previous commit. no review.
* Made the presentation compiler reporter in inte...Iulian Dragos2011-01-282-6/+7
| | | | | | Made the presentation compiler reporter in interactive tests show up error messages.no review.
* Re-enabled one presentation compiler test.Iulian Dragos2011-01-273-0/+0
|
* Re-enabled another position check in FindTrees.Iulian Dragos2011-01-272-2/+5
|
* Some overdue organization and cleanups in the r...Paul Phillips2011-01-271-1/+3
| | | | | Some overdue organization and cleanups in the repl. No review.
* Disabled presentation compiler tests.Iulian Dragos2011-01-267-0/+0
|
* One last attempt at getting the presentation co...Iulian Dragos2011-01-262-3/+4
| | | | | | One last attempt at getting the presentation compiler pass some tests. no review.
* Merge branch 'work'Aleksandar Pokopec2011-01-2612-4/+122
| | | | | | Conflicts: src/library/scala/concurrent/SyncVar.scala