summaryrefslogtreecommitdiff
path: root/test/files/run
Commit message (Collapse)AuthorAgeFilesLines
* Fix for si-5590.Aleksandar Prokopec2012-05-042-0/+35
|
* Fix for Dynamic interaction with private methods.Paul Phillips2012-05-032-0/+12
| | | | | | Don't let inaccessible methods prevent calls to *Dynamic, otherwise we are at the mercy of every "private" alteration in every class we inherit. Closes SI-5040.
* Moved passing tests from pending to files.Paul Phillips2012-05-0313-0/+324
| | | | | | | | Most are pattern matcher bugs fixed by virtpatmat. A few are reifier, package object, or miscellaneous. I threw in an original test for SI-2337, to go with those for SI-1697, SI-3705, SI-4415, and SI-1357, all of which (in the interests of making sure this basket has all the eggs) I am closing.
* Fix for SI-5608, crasher with value classes.Paul Phillips2012-05-032-0/+13
| | | | | | Anyone who doubts the importance of avoiding duplication is invited to look closely at the cause of this bug as revealed in this one line patch.
* Test case closes SI-5655.Paul Phillips2012-05-032-0/+40
| | | | | Still some issues with the repl namespace, which should be managed in a first class way, not defensively/reactively.
* SI-5703: normalize refined types moreAdriaan Moors2012-05-033-22/+46
| | | | | | | | | to improve Array[T] java-interop with T[], normalize Object with Object{} to Object fix #SI-5688 by flattening refined types in parents updated check files to reflect flattening of refined types and updated position for refined types
* Merge branch 'may2' of /scala/trunk into developPaul Phillips2012-05-022-0/+52
|\
| * Unanchored regex extractors.Paul Phillips2012-05-022-0/+52
| | | | | | | | | | | | | | | | | | This patch is really by Lanny Ripple <lanny@spotinfluence.com>, but I reworked it because I didn't want to put any more methods onto String. Instead, there is a method on Regex which removes the anchoring quality. """\d\d'"".r.unanchored
* | Merge commit 'refs/pull/317/head' into developPaul Phillips2012-05-022-0/+29
|\ \ | |/ |/|
| * SI-5543: Ctor default arg wrongly scoped (revised)Som Snytt2012-04-281-1/+1
| | | | | | | | | | | | | | This patch fixes the motivating bug by detecting when a method is the default arg getter for a constructor parameter. That requires fixing a secondary bug where an arbitrary string was used to encode <init> in lieu of <init>.encode. There is no speculative mangling.
| * SI-5543: Merge with trunkSom Snytt2012-04-26803-1446/+8686
| |\ | | | | | | | | | | | | Reverts name unenmanglement that was objectionable in the previous patch commit 47bfd744177121de08fed489a5b0b1b59a1ae06a.
| * | Ctor default-getters unique name and are typed in constructor contextSom Snytt2012-03-232-0/+29
| | |
| | |
| \ \
| \ \
| \ \
*---. \ \ Merge commit 'refs/pull/457/head'; commit 'refs/pull/458/head'; commit ↵Paul Phillips2012-05-0210-8/+55
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 'refs/pull/459/head'; commit 'refs/pull/460/head'; commit 'refs/pull/461/head'; commit 'refs/pull/462/head'; commit 'refs/pull/463/head'; commit 'refs/pull/464/head'; commit 'refs/pull/465/head' into develop
| | * | | | Test cases for si-4536.Aleksandar Prokopec2012-05-022-0/+54
| | |/ / /
| * / / / remove -Xoldpatmat where test no longer needs itAdriaan Moors2012-05-028-8/+1
|/ / / /
* / / / moving patmat to its own phaseAdriaan Moors2012-05-023-24/+26
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sort field accessors, necessary after typers -- apparently... don't throw TypeError, use issueTypeError don't run patmat phase when -Xoldpatmat only virtualize matches when -Xexperimental recycle cps type of match for re-typechecking: when one of the internal cps-type-state annotations is present, strip all CPS annotations a cps-type-state-annotated type makes no sense as an expected type (matchX.tpe is used as pt in translateMatch) don't synth FunctionN impls during typer, only do this for PartialFunction updated check now function synth for match is deferred until uncurry patmat-transform try/catch with match in cps cleanup in selective anf remove TODO: can there be cases that are not CaseDefs -- nope
* | | Fixs for reflection and getSimpleName.Paul Phillips2012-05-022-0/+56
| | | | | | | | | | | | | | | Since getSimpleName will be crashing us indefinitely, took the expedient route and wrapped the call.
* | | Optimization of Predef implicits.Paul Phillips2012-04-301-2/+2
| | | | | | | | | | | | | | | | | | | | | All those wildcards in a default-scoped implicit are expensive, they each lead to a typevar on every search. Restructured the Tuple2/Tuple3 Zipped classes, they're better this way anyway. This also gets all that Tuple[23] code out of genprod.
* | | Removed a few more @deprecated members.Paul Phillips2012-04-2812-13/+12
| | | | | | | | | | | | | | | The ones which remain I'm not removing on purpose, as I know from experience it's more trouble than it's yet worth.
* | | Another tedious day at Checkfile Ranch.v2.10.0-M3Paul Phillips2012-04-271-1/+1
| | |
* | | Merge commit '2bd62d2cfff47882eb72768cfb054638ed0f039b'Paul Phillips2012-04-272-2/+8
|\ \ \
| * | | fixes broken eval testsEugene Burmako2012-04-272-2/+8
| | | |
* | | | Revert "Moved ancillary methods off specialized traits."Paul Phillips2012-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1d0372f84f9a7325a47beb55169cc454895ef74b. I forgot about polymorphic dispatch. Have to seek another way.
| | | |
| \ \ \
*-. | | | Merge commit 'refs/pull/445/head'; commit 'refs/pull/446/head'; commit ↵Paul Phillips2012-04-274-0/+34
|\ \| | | | | |_|/ | |/| | | | | | 'refs/pull/447/head' into develop
| | * | fixes SI-5713Eugene Burmako2012-04-274-0/+34
| |/ /
* / / Maybe this will fix the test on windows.Paul Phillips2012-04-271-1/+1
|/ /
* | A brand new, fast classfile parser.Paul Phillips2012-04-264-0/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Try it: ./tools/dump-class ./build/quick/classes The output is intended to be easy to filter on the command line. This is a starting point for lots of interesting bytecode analysis for which we have waited too long. Example. All generic signatures we produce. // almost 20K classfiles % find build/quick/classes -name '*.class' |wc -l 18519 // fully parsed in 6 seconds tools/dump-class build/quick/classes |grep "^ signature" | wc -l 50802 real 0m6.230s It's designed to be easy to make faster if you don't care about particular classfile bits; you can override those methods to jump forward in the input stream rather than building a structure. For just a little sampling, here are our most frequently repeated name/signature combinations. 194 signature <init> ()V // this one is weird, wonder why there's a generic signature 115 signature $div$colon$bslash <A1:Ljava/lang/Object;>(TA1;Lscala/Function2<TA1;TA1;TA1;>;)TA1; 105 signature applyOrElse <A1:Ljava/lang/Object;B1:Ljava/lang/Object;>(TA1;Lscala/Function1<TA1;TB1;>;)TB1; 103 signature view ()Ljava/lang/Object; 101 signature toSet <B:Ljava/lang/Object;>()Lscala/collection/immutable/Set<TB;>; And the top five name/descriptor combinations. 11170 descriptor <clinit> ()V 10155 descriptor serialVersionUID J 7130 descriptor apply (Ljava/lang/Object;)Ljava/lang/Object; 3028 descriptor apply ()Ljava/lang/Object; 2426 descriptor <init> ()V
* | Trying to set an example in the land of macros.Paul Phillips2012-04-252-6/+6
| | | | | | | | | | | | | | | | Hopefully there are useful examples to be had in here. Please note that you should never be testing "x.size != 0", use isEmpty or nonEmpty. Even if these happen to be small collections, it's not a habit you want to form: size is O(n) on a number of collections. (Most pointedly, Lists.)
* | removes Expr <-> Tree implicitsEugene Burmako2012-04-2525-59/+50
| |
* | 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
|\ \