summaryrefslogtreecommitdiff
path: root/test/files/run
Commit message (Collapse)AuthorAgeFilesLines
* interop between manifests and tagsEugene Burmako2012-04-2314-0/+142
|
* resurrects manifests in their pre-2.10 gloryEugene Burmako2012-04-2330-0/+1605
|
* migrates stdlib and compiler to tagsEugene Burmako2012-04-2337-158/+137
| | | | | * all usages of ClassManifest and Manifest are replaced with tags * all manifest tests are replaced with tag tests
* rethinks tagsEugene Burmako2012-04-2333-97/+512
| | | | | * introduces ArrayTag and ErasureTag * all type tags now feature erasure
* Merge commit 'refs/pull/419/head'; commit 'refs/pull/420/head'; commit ↵Paul Phillips2012-04-222-0/+10
|\ | | | | | | 'refs/pull/421/head'; commit 'refs/pull/422/head' into develop
| * fixes SI-5680Eugene Burmako2012-04-202-0/+10
| |
* | scala.reflect.api: Reporters => FrontEndsEugene Burmako2012-04-202-3/+3
|/
* fixes testsEugene Burmako2012-04-171-8/+8
|
* adds erasures to concrete type tagsEugene Burmako2012-04-1710-13/+13
|
* Another checkfile update.Paul Phillips2012-04-161-5/+5
| | | | For mr. optimizer and his band of merry privates.
* Merge commit 'refs/pull/408/head'Paul Phillips2012-04-163-52/+59
|\
| * don't emit tiny switches: optimizer chokes on themAdriaan Moors2012-04-143-52/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | workaround for inliner bug in run/t3835 see SI-5672 for the optimizer bug tiny switches (2 cases or less) don't make sense anyway, so this is not a big deal the annotDepMethType.flags contained -Xexperimental, which causes Any* to be considered as a valid return type, before we weren't exposed to this, because the product methods used (tiny) switches; with this change, they went back to pattern matches in any case, the -Xexperimental was intended to turn on dependent method types, not Any* as valid type (I can only assume), and they are now on by default the other tests were affected by our refusal to emit tiny switches
| * work around optimizer bug SI-5672Adriaan Moors2012-04-141-2/+7
| | | | | | | | | | | | the optimizer generates wrong bytecode for switches in arguments virtpatmat happily emits a switch for a one-case switch, whereas -Xoldpatmat did not this is not the focus of this test, hence the temporary workaround
* | New facility: TypeDestructurers.Paul Phillips2012-04-165-4/+384
| | | | | | | | | | | | Would prefer to bake a little longer, but, scala days. More elaboration to come.
| |
| \
*-. \ Merge commit 'refs/pull/401/head'; commit 'refs/pull/402/head'; commit ↵Paul Phillips2012-04-1414-46/+76
|\ \ \ | |_|/ |/| | | | | 'refs/pull/403/head'; commit 'refs/pull/404/head'; commit 'refs/pull/405/head' into develop
| | * implements reification of tough typesEugene Burmako2012-04-1413-44/+69
| | |
| * | work around optimizer bug SI-5672Adriaan Moors2012-04-141-2/+7
|/ / | | | | | | | | | | the optimizer generates wrong bytecode for switches in arguments virtpatmat happily emits a switch for a one-case switch, whereas -Xoldpatmat did not this is not the focus of this test, hence the temporary workaround
| |
| \
*-. \ Merge commit 'refs/pull/391/head'; commit 'refs/pull/390/head' into developPaul Phillips2012-04-1430-149/+224
|\ \ \
| | * | no longer need -YvirtpatmatAdriaan Moors2012-04-141-1/+1
| | | |
| | * | enable implicit enrichment when typing patternsAdriaan Moors2012-04-133-0/+15
| | | |
| * | | virtpatmat on by default; chicken out: -XoldpatmatAdriaan Moors2012-04-1425-144/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | wip: put skeleton for typetag-based typetests in placeAdriaan Moors2012-04-141-0/+5
| | | |
| * | | more prudent bridging to unapply[Seq]Adriaan Moors2012-04-142-5/+46
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | since we can't statically know whether the unapply we'll be bridging to is synthetic, drop this condition, and do pessimistic bridging for all unapply[Seq] (i.e., if we can't statically guarantee the type that would be assumed to be safe to cast to by a synthetic extractor, do the type test and return None if it fails)
* / | restores some disabled macro tests, makes checkFeature synchronous when used ↵Eugene Burmako2012-04-145-5/+41
|/ / | | | | | | for macros
| |
| \
*-. \ Merge commit 'refs/pull/389/head'; commit 'refs/pull/393/head' into developPaul Phillips2012-04-145-0/+173
|\ \ \
| | * | DynamicProxy: improved docs, fixed EOL styleChristopher Vogt2012-04-143-93/+93
| | | |
| | * | implemented DynamicProxy as portrayed by the Scala reflection teamChristopher Vogt2012-04-143-0/+93
| | |/
| * | rule out sequence arg to applyDynamicAdriaan Moors2012-04-131-2/+2
| | |
| * | implement SIP Type DynamicAdriaan Moors2012-04-132-0/+80
| |/
* | disabled failing macro test; needs to be adapted to new scheme.Martin Odersky2012-04-134-25/+0
| |
* | Merge branch 'master' into topic/sip18Martin Odersky2012-04-134-0/+61
|\|
| * Workaround for SI-5583.Paul Phillips2012-04-122-0/+31
| | | | | | | | | | Somehow type args to be applied arrive in the specialized subclass where type args are no longer applicable. Log and discard.
| * Fix for SI-5535.Paul Phillips2012-04-122-0/+30
| |
* | Fixed tests to account for SIP 18Martin Odersky2012-04-1312-99/+114
| |
* | Added languageFeature annotation (was missing before). Resolved problem with ↵Martin Odersky2012-04-1384-84/+84
|/ | | | late loading of nested classes in Definitions. Resolved handling of deprecated idents `then` and `macro`. Massaged test flags.
* Merge commit 'refs/pull/375/head' into developPaul Phillips2012-04-12602-1014/+4375
|\
| * GroundTypeTag => ConcreteTypeTagEugene Burmako2012-04-1228-110/+110
| |
| * Next generation of macrosEugene Burmako2012-04-12602-1014/+4375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements SIP 16: Self-cleaning macros: http://bit.ly/wjjXTZ Features: * Macro defs * Reification * Type tags * Manifests aliased to type tags * Extended reflection API * Several hundred tests * 1111 changed files Not yet implemented: * Reification of refined types * Expr.value splicing * Named and default macro expansions * Intricacies of interaction between macros and implicits * Emission of debug information for macros (compliant with JSR-45) Dedicated to Yuri Alekseyevich Gagarin
* | Implementation of SIP 13 take 2.Martin Odersky2012-04-111-1/+1
| |
* | Implementation of SIP 13 - implicit classesMartin Odersky2012-04-111-0/+10
|/
* Fix for SI-5648.Paul Phillips2012-04-103-0/+15
| | | | More care in warning about bad comparisons.
* Cleaning up some repl mechanisms.Paul Phillips2012-04-091-1/+1
|
* SI-4540 Fix [RichDouble|RichFloat|RichLong].isValid[Byte|Short|Char|Int].Dmitry Nadezhin2012-04-081-58/+273
| | | | | | | | | | This commit fixes test cases mentioned in comment 03/Apr/12 to SI-4540. Methods are fixed in leaf classes RichDouble|RichFloat|RichLong. Their superclasses are not modified. File is-valid-num.scala contains commented tests of isValidLong|isValidFloat|isValidLong, but they are not added anywhere now.
* Merge branch 'apr6-flags' of leaf:/scala/trunk into developPaul Phillips2012-04-061-18/+18
|\
* \ Merge commit 'pull/358/head' into developPaul Phillips2012-04-061-0/+16
|\ \
| * | Test case for overloading resolution during reflection.Martin Odersky2012-04-051-0/+16
| | |
* | | Make NumericRange# O(1) instead of O(n).Simon Ochsenreither2012-04-062-17/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It makes me a bit nervous that NumericRange[Int] will get different wrong values in overflow situations compared to Range due to the missing toLong though. It could probably need some investigation if reordering the operations can rule out wrong values, e. g. only fail when the fold also fails. Apart from that, it might make sense to just throw an exception if an overflow happens instead of silent overflow.
* | | Fix for SI-5591.Geoff Reedy2012-04-062-0/+11
| |/ |/| | | | | And test case for SI-5591.
| |
| \
| \
| \
*---. \ Merge commit 'refs/pull/353/head'; commit 'refs/pull/354/head'; commit ↵Paul Phillips2012-04-053-0/+9
|\ \ \ \ | |_|_|/ |/| | | | | | | 'refs/pull/356/head'; commit 'refs/pull/337/head'; commit 'refs/pull/339/head' into develop
| | | * String interpolation bug fixDominik Gruntz2012-03-283-0/+9
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes a bug in class StringContext.scala. Parts were not correctly added to the resulting string. This commit includes a test case which covers the example reported in the bug. Closes SI-5614.