summaryrefslogtreecommitdiff
path: root/test/files
Commit message (Collapse)AuthorAgeFilesLines
* test for OverloadedUnapplyErrorAdriaan Moors2012-02-232-1/+8
|
* One last nudge for elidable.Paul Phillips2012-02-223-36/+0
| | | | | A method with return type Nothing elides into a call to ??? . It's the role ??? was born for.
* Reworked and restored elidable.Paul Phillips2012-02-228-3/+221
| | | | | | | | | | | | Found a better elidable implementation which is robust against other parts of the compiler doing their things. Calls to elidable methods are replaced with zero of the same type. Elidable methods themselves remain in place, but with their body replaced with a zero of the method return type. Thus is everything to be found where it is expected to be found, but nothing will be found where nothing ought to be found. Nothing of course will never be found.
* Revert recent elidable commits.Paul Phillips2012-02-225-121/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | On epfl jenkins, elidable.scala fails with: [partest] java.lang.VerifyError: (class: Test$, method: main signature: ([Ljava/lang/String;)V) Unable to pop operand off an empty stack [partest] [partest] at Test.main(elidable.scala) Strangely it is fine for me on OSX with either apple's jvm or openjdk. Since tests were not running for a while I don't know which of the recent elidable commits is responsible, so given present time demands all I can do is revert them all. Revert "Fix for SI-5215: scalac crash when @elidable used in trait" This reverts commit 5e52ce9a13f12ef159e25ac80c6be2803ec48950. Revert "Fix for SI-5215 part 2: generate return value when eliding method calls" This reverts commit 61c9b4f01d99a81e15391b270bd1b5a895f65ffd. Revert "Eliminating duplication in zero creation." This reverts commit fbb7865e137e83660257fdc79d19d29ff39c775b. Revert "Disallow eliding when Nothing is expected" This reverts commit f26a47c4e8bda2f6c689b4e9b0bb5c64ccf4c699.
* Disabled one failing test.Paul Phillips2012-02-225-23/+0
| | | | | One to go (which doesn't fail for me, which is interesting because it's a VerifyError.)
*---. Merge remote-tracking branches 'som-snytt/elide-nothing', ↵Paul Phillips2012-02-217-1/+64
|\ \ \ | | | | | | | | | | | | 'szabolcsberecz/SI-5316' and 'szabolcsberecz/SI-5171' into develop
| | | * Test for SI-5171Szabolcs Berecz2012-02-212-0/+8
| |_|/ |/| | | | | | | | | | | | | | | | | Running the test produces the following error in 2.9.1: java.lang.VerifyError: class com.restphone.IsList$ overrides final method canEqual. Works fine in 2.10.0-M2
| | * Test for SI-5316Szabolcs Berecz2012-02-212-1/+20
| |/ |/| | | | | Compiler NPE on 2.9.1 when implicit parameter not found
| * Disallow eliding when Nothing is expectedSom Snytt2012-02-213-0/+36
|/
* Eliminating duplication in zero creation.Paul Phillips2012-02-202-2/+2
|
* Fix for SI-5215 part 2: generate return value when eliding method callsSzabolcs Berecz2012-02-202-2/+40
|
* A better error message for inheritance conflict.Paul Phillips2012-02-192-0/+11
| | | | | | And some tests for pending. Closes SI-5358.
* Merge remote-tracking branch 'TiarkRompf/SI-5506' into developPaul Phillips2012-02-192-0/+65
|\
| * fixes SI-5506. better cps type propagation for polymorphic and ↵Tiark Rompf2012-02-192-0/+65
| | | | | | | | multi-argument list methods.
* | Fix for SI-5215: scalac crash when @elidable used in traitSzabolcs Berecz2012-02-192-2/+46
| | | | | | | | The elision is now done by not emitting method calls (it was done by removing the elidable methods).
* | Fix [@spec A] to correctly induce AnyRef specialization.Erik Osheim2012-02-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | While [@specialized A] already tries to include specialization, a bug in specializedOn prevented this from happening: any empty list could mean that the type var was unspecialized, or that it was specialized on everything. The fix is to have this function create the full list of symbols in the case where the @specialized annotation doesn't explicitly include any types.
* | Merge remote-tracking branch 'phaller/execution-context'Paul Phillips2012-02-191-1/+1
|\ \
| * | Fix race condition in scala-concurrent-tck testPhilipp Haller2012-02-191-1/+1
| | |
* | | More specialization tests.Paul Phillips2012-02-194-6/+82
| | | | | | | | | | | | Some in pending, some in files. Closes SI-4770.
* | | More on SI-5500.Paul Phillips2012-02-184-29/+86
| | | | | | | | | | | | | | | | | | A reimagining of erik's patch in 1df4fc6e59 . He did the hard part, this is the batman reboot. I added more tests and tried to make the anyref caching code less fragile.
| | |
| \ \
*-. \ \ Merge branch 'master', remote-tracking branch 'non/si-5500' into developPaul Phillips2012-02-182-0/+14
|\ \ \ \
| | * | | Fixed over-optimistic anyrefSpecCache (closes SI-5500).Erik Osheim2012-02-192-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The basic problem here was that generic type params were getting confused between the various specialized subclasses. For instance, calling typeParamsSubAnyRef(A, C2$mcLI$sp) might return the wrong specialized type param, e.g. C2$mcLZ$sp.A$sp (note the Z instead of the I). The fix is to cache with both the sym (A) and also the clazz (C2$mcLI$sp). This may resolve a whole host of other obscure AnyRef specialization problems.
| | | | |
| \ \ \ \
*-. \ \ \ \ Merge remote-tracking branches 'hubertp/issue/5452' and 'hubertp/issue/5493' ↵Paul Phillips2012-02-177-0/+85
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | into develop
| | * | | | Closes #5497.Hubert Plociniczak2012-02-184-0/+16
| | | |_|/ | | |/| | | | | | | | | | | | Chain contexts by sharing the error buffer, unless you explicitly create a silent context. Review by @odersky
| * / | | Closes #5452.Hubert Plociniczak2012-02-173-0/+69
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of trying to track the fallback attempts we rely on the context state to inform us which fallback is the last one. setError cannot always be called in NoBestMethodAlternativeError because inferMethodAlternative relies on side-effects. Review by @paulp.
* | | | Merge remote-tracking branch 'scalamacros/pullrequest/macros' into developPaul Phillips2012-02-1726-0/+147
|\ \ \ \
| * | | | Fixes miscellaneous macro bugsEugene Burmako2012-02-1726-0/+147
| |/ / /
* | | | Merge remote-tracking branch 'phaller/execution-context' into feb17-alexPaul Phillips2012-02-174-1/+552
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/|
| * | Disable execution context and futures implementation in the default package.Aleksandar Prokopec2012-02-164-410/+20
| | | | | | | | | | | | | | | | | | | | | Fixed some tests so that they work now. The Transactions.scala test was failing when defined in scala.concurrent package, reporting that type `_$1` is defined twice. Until we figure out the reason for this, the package name in that test is renamed.
| * | Merge branch 'master' into execution-contextAleksandar Prokopec2012-02-16261-313/+5648
| |\| | | | | | | | | | | | | Conflicts: src/library/scala/package.scala
| * | Merge branch 'master' into execution-contextVojin Jovanovic2012-01-2578-57/+5436
| |\ \
| * | | Migrate akka promises. Changes to some of the interfaces.aleksandar2012-01-131-7/+5
| | | |
| * | | Port of akka Future implementation in progress.aleksandar2012-01-121-1/+14
| | | |
| * | | Refactor await calls for awaitable objects to ready and result calls.aleksandar2012-01-121-37/+49
| | | |
| * | | Merge branch 'master' into execution-contextVojin Jovanovic2012-01-0968-304/+906
| |\ \ \
| * | | | Make base TCK more uniform with Akka TCKPhilipp Haller2011-12-131-3/+4
| | | | |
| * | | | Add test for recover to Akka TCKPhilipp Haller2011-12-132-4/+25
| | | | |
| * | | | Force output of exception in assert. Add tests for recover.Philipp Haller2011-12-131-2/+33
| | | | |
| * | | | Add tests for blocking/await to Akka version of the TCKPhilipp Haller2011-12-131-6/+37
| | | | |
| * | | | Merge branch 'execution-context' of github.com:phaller/scala into ↵aleksandar2011-12-131-0/+338
| |\ \ \ \ | | | | | | | | | | | | | | | | | | execution-context
| | * | | | Add Akka version of Futures TCK.Philipp Haller2011-12-131-0/+338
| | | | | |
| * | | | | Change promise method signature.aleksandar2011-12-131-1/+1
| |/ / / /
| * | | | Add test cases for blocking. Fix in the failed projection.aleksandar2011-12-131-3/+27
| | | | |
| * | | | Rename block->await. Add more tck test cases.aleksandar2011-12-131-8/+87
| | | | |
| * | | | Add stubs for future combinator tests.Philipp Haller2011-12-131-1/+67
| | | | |
| * | | | Fix default.ExecutionContextImpl.promise. Add promise test.Philipp Haller2011-12-131-1/+24
| | | | |
| * | | | Adding the tck test file.aleksandar2011-12-121-0/+166
| | | | |
| * | | | Merge branch 'execution-context' of github.com:phaller/scala into ↵aleksandar2011-12-121-8/+7
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | execution-context Conflicts: test/files/jvm/concurrent-future.scala
| | * | | | Fix future testsPhilipp Haller2011-12-091-5/+5
| | | | | |
| * | | | | Syntax changes for the scala.concurrent package and some cleanup.aleksandar2011-12-121-5/+10
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | block on { } is now changed to: block(timeout) { }