summaryrefslogtreecommitdiff
path: root/test/files/specialized
Commit message (Collapse)AuthorAgeFilesLines
* resurrects manifests in their pre-2.10 gloryEugene Burmako2012-04-232-0/+82
|
* migrates stdlib and compiler to tagsEugene Burmako2012-04-232-8/+8
| | | | | * all usages of ClassManifest and Manifest are replaced with tags * all manifest tests are replaced with tag tests
* virtpatmat on by default; chicken out: -XoldpatmatAdriaan Moors2012-04-141-1/+1
| | | | | | | some tests (unreachability, exhaustivity, @switch annotation checking) are still run under -Xoldpatmat, but that will change before we go into RC mode (then the test/ partest of this commit will be reverted) removed irrelevant dependency on patmat
* New starr to support new fundamental laws of reality.Paul Phillips2012-03-141-2/+2
| | | | | | | | | | And grueling recovery from branch drift. Merges a portion (and only a portion) of topic/inline into master. The major changes which come with this merge are: AnyVal is unsealed, can be extended directly. ScalaObject is no longer with us.
* Prevent extaneous output in SI-5005Vlad Ureche2012-02-161-1/+5
|
* Added test files to verify previous commit.Erik Osheim2012-02-152-0/+56
| | | | | | | | | | Tests scalac -optimize -Xprint:specialize -Ylog:inliner output to verify that final/@inline + specialization are being handled correctly (that is, the original class' specialized methods should not be final/@inline, but its specialized subclass' should be). This test was written by Vlad Ureche based on the bug report in SI-5005.
* Specialization action.Paul Phillips2012-02-143-22/+9
| | | | | | | | | | | | | | | | | | | | | The crickets at http://www.scala-lang.org/node/11901 were in unanimous agreement that I should proceed as suggested. - No arguments to @specialize gets you 10/10, not 9/10 - Fixed bugs in AnyRef specialization revealed by trying to use it - Specialized Function1 on AnyRef. - Changed AnyRef specialization to use OBJECT_TAG, not TVAR_TAG. - Deprecated SpecializableCompanion in favor of Specializable, which has the virtue of being public so it can be referenced from outside the library. - Cooked up mechanism to group specializable types so we don't have to repeat ourselves quite so much, and create a few groups for illustrative purposes. I'm not too serious about those names but I used up all my name-thinking-up brain for the day. - Updated genprod and friends since I had to regenerate Function1. - Put tests for a bunch of remaining specialization bugs in pending. Closes SI-4740, SI-4770, SI-5267.
* Make specialization pick up opportunities when the Iulian Dragos2012-01-172-0/+31
| | | | | | specialized method has additional (non-specialized) type parameters. This fix comes from Stefan's desire to specialize HLists (see corresponding test). review by @prokopec
* Begone t1737...Hubert Plociniczak2011-11-0211-44/+44
|
* Fix for NumericRange boundary condition.Paul Phillips2011-10-311-1/+1
| | | | | Contributed by Thomas Switzer. Closes SI-4985, no review.
* Removing the code which has been deprecated sin...Paul Phillips2011-08-151-1/+1
| | | | | | | Removing the code which has been deprecated since 2.8.0. Contributed by Simon Ochsenreither, although deleting code is such fun one hesitates to call it a contribution. Still, we will. Closes SI-4860, no review.
* Making Range creation less slow, no review.Paul Phillips2011-05-211-1/+1
|
* Added a temporary fix for #4351, but disabled i...Aleksandar Pokopec2011-03-242-0/+21
| | | | | | | | | | | | | Added a temporary fix for #4351, but disabled it because the extend specialized class with nonspecialized type-parameters is used in the stdlib already. Disabling scala.parallel package, adding the currently disabled scala.concurrent package which will be implemented in some of the next releases. Review by phaller.
* Adding some tests for #3651.Aleksandar Pokopec2011-03-224-0/+28
| | | | | No review.
* Some boundary conditions in range.Paul Phillips2011-03-191-1/+1
| | | | | | | infix implicits to Integral and Fractional. As a bonus this patch knocked 10,000 long boxings off a specialized test. Who knew. Closes #4308, #4321, review by community.
* Always forget that checking system properties c...Paul Phillips2011-03-171-6/+5
| | | | | | | | | Always forget that checking system properties causes exceptions in applets and such. Made the system property wrapper wrap its access checks in some more wrapping. I spent a long time trying to write a test for the security manager but it's hopeless without knowing all the details of the test environment. Closes #4346, no review.
* Modify BufferedSource to use a BufferedLineIter...Donna Malayeri2011-03-071-1/+1
| | | | | | | Modify BufferedSource to use a BufferedLineIterator to speed up line-by-line reads on large files. Updated testfile which used this class. Closes #4186. Review (of fft.check) by prokopec.
* Renamed Application to App.Martin Odersky2011-02-212-2/+2
|
* A missing test.Aleksandar Pokopec2011-02-092-0/+52
| | | | | No review
* Added a test case for anyref specialization.Aleksandar Pokopec2011-02-092-0/+59
|
* Removed the probe for integers in spec-matrix.Iulian Dragos2011-01-192-2/+1
|
* Allow box(unbox) elimination for the Null type,...Iulian Dragos2011-01-185-8/+65710
| | | | | | Allow box(unbox) elimination for the Null type, plus testing that specialization tests do not box too much. review by extempore.
* Disabled failing specialization test.Aleksandar Pokopec2011-01-172-3/+0
| | | | | No review.
* Added specialized test to ant build, and ported...Aleksandar Pokopec2011-01-171-1/+1
| | | | | | | | Added specialized test to ant build, and ported old specialized 'run' tests to check the number of boxings. No review.
* Adapted specialization tests to track number of...Aleksandar Pokopec2011-01-1720-0/+373
| | | | | | | Adapted specialization tests to track number of boxings. Review by dragos
* Added 'specialized' tests.Aleksandar Pokopec2011-01-171-0/+10
Added a new test group - specialized. Modified partest to add a jar with instrumented classes to classpath when compiling and running tests. Added a primary version of the instrumented BoxesRuntime, and a script to produce a jar for it. Added the 'speclib' folder to partest files, which contains the jar with the instrumented classes. Review by dragos.