summaryrefslogtreecommitdiff
path: root/test/files/run
Commit message (Collapse)AuthorAgeFilesLines
* Fix reifier crashing repl.Paul Phillips2012-04-252-0/+31
| | | | | | Very first time I tried "reify" in the repl and it crashed. I changed an assert to issue a proper error, as best I could figure out how. We probably need to do a lot more of this.
* Moved ancillary methods off specialized traits.Paul Phillips2012-04-241-1/+1
| | | | | | | Moved compose/andThen off Function1, curried/tupled off Function2. Pushed Tuple2 zipped into auxiliary class. Created implicits to plaster over the changes. This drops several hundred classfiles and takes (unoptimized) scala-library.jar from 7.8 Mb to 7.4 Mb.
* Merge commit 'refs/pull/433/head' into developPaul Phillips2012-04-243-0/+18
|\
| * fixes SI-5704Eugene Burmako2012-04-243-0/+18
| |
* | copy BackQuotedIdent trees (don't copy as Ident)Adriaan Moors2012-04-242-0/+13
| | | | | | | | | | | | | | typer synthesized the wrong isDefinedAt method in typedMatchAnon because a BackQuotedIdent was copied as an Ident, so that the equality check was performed in applyOrElse (since it operates on the original tree), but not in isDefinedAt (since it operates on the copy, which collapsed Ident and BackQuotedIdent)
* | generate well-formed patterns in parserAdriaan Moors2012-04-242-0/+7
|/ | | | | | | | | | | | | | | | val pattern: Type = expr desugared to val x = expr match { case pattern: Type => (var_1, ..., var_N)} but `pattern: Type` is only a valid pattern if `pattern` is an Ident thus, we desugar to val x = (expr: Type) match { case pattern => (var_1, ..., var_N)} ... in this case (see def makePatDef) also, MaybeBoundType now fails on illegal patterns (to defend against similar regressions)
* Removed FlatArray.Paul Phillips2012-04-234-52/+36
| | | | We thought better of it.
* Merge commit 'refs/pull/427/head'; commit 'refs/pull/428/head' into developPaul Phillips2012-04-23114-200/+2341
|\
| * 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/424/head' into developPaul Phillips2012-04-236-0/+8
|\ \ | |/ |/|
| * minor fixes to reificationEugene Burmako2012-04-236-0/+8
| |
* | 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
|/