summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* generate well-formed patterns in parserAdriaan Moors2012-04-244-6/+32
| | | | | | | | | | | | | | | | 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)
* Back from the dead, it's ScalaObject!Paul Phillips2012-04-241-0/+16
| | | | | | | Trying to compile sbt with 2.10.0 reminded me that ScalaObject wasn't only a marker interface, it was a public trait in the library and has to be removed properly. "The ol' boy had a bit of life in him yet, 'e did."
* Express flags as bit shifts.Paul Phillips2012-04-241-57/+57
| | | | For those of us robots who still have a little human blood.
* Merge commit 'refs/pull/431/head'Paul Phillips2012-04-245-9/+9
|\
| * Fix unmatched parenthesisKato Kazuyoshi2012-04-242-1/+2
| |
| * "@returns" is not a Scaladoc tagKato Kazuyoshi2012-04-241-2/+1
| |
| * $op_name, $op_names, $plus and $eq are not macroKato Kazuyoshi2012-04-242-6/+6
| |
| |
| \
*-. \ Merge commit 'refs/pull/429/head'; commit 'refs/pull/430/head' into developPaul Phillips2012-04-233-2/+30
|\ \ \
| | * | adds isStatic to Symbols API in macro contextEugene Burmako2012-04-232-0/+9
| | | | | | | | | | | | | | | | @paulp I think this is the place we should dump the contents of AbsSymbolInternal to
| * | | Fixes to OSGi version number based on IDE team's suggestions.Josh Suereth2012-04-231-2/+21
| | | |
* | | | Make scala.language vals lazy.Paul Phillips2012-04-231-8/+8
| |/ / |/| | | | | | | | | | | Otherwise loading the class reflectively runs the initializer and throws an exception.
* | | Removed FlatArray.Paul Phillips2012-04-235-209/+36
| | | | | | | | | | | | We thought better of it.
| | |
| \ \
*-. \ \ Merge commit 'refs/pull/427/head'; commit 'refs/pull/428/head' into developPaul Phillips2012-04-23315-1956/+6405
|\ \ \ \
| | * | | interop between manifests and tagsEugene Burmako2012-04-2333-2/+320
| | | | |
| | * | | resurrects manifests in their pre-2.10 gloryEugene Burmako2012-04-2367-25/+3913
| | | | |
| | * | | migrates stdlib and compiler to tagsEugene Burmako2012-04-23153-837/+833
| | | | | | | | | | | | | | | | | | | | | | | | | * all usages of ClassManifest and Manifest are replaced with tags * all manifest tests are replaced with tag tests
| | * | | rethinks tagsEugene Burmako2012-04-2382-1178/+1394
| | | | | | | | | | | | | | | | | | | | | | | | | * introduces ArrayTag and ErasureTag * all type tags now feature erasure
| * | | | poor dummy, what have they done to youEugene Burmako2012-04-231-76/+107
| | |_|/ | |/| |
* | | | Revert "Fix for range positions."Paul Phillips2012-04-231-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b47189ad06e027c310d93b071fc8bf15d979225d. This never happened.
* | | | Merge commit 'refs/pull/425/head' into developPaul Phillips2012-04-233-2/+21
|\ \ \ \
| * | | | Fix for SI-5471Vojin Jovanovic2012-04-233-2/+21
| | |_|/ | |/| |
* | | | Merge branch 'range-redux' of /scratch/trunk2Paul Phillips2012-04-231-1/+6
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix for range positions.Paul Phillips2012-04-231-1/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You are a fireman, leading a team of firemen on a rescue in a burning building. When you have cleared a room, you place a sticker on the door which says "Room cleared!" If the other firemen see that sticker, they will skip that room, knowing there are no small children or adorable puppies behind it. As the lead fireman, here is what you should not do: run from door to door slapping "Room cleared!" stickers on them all, so the other firemen shrug and go home. Translation: when recursion depends on a condition, if you alter the condition before you recurse, you may not recurse at all.
* | | Merge commit 'refs/pull/424/head' into developPaul Phillips2012-04-2316-28/+15
|\ \ \ | |_|/ |/| |
| * | minor fixes to reificationEugene Burmako2012-04-2316-28/+15
| | |
| | |
| \ \
| \ \
| \ \
*---. \ \ Merge commit 'refs/pull/419/head'; commit 'refs/pull/420/head'; commit ↵Paul Phillips2012-04-22139-4556/+1069
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 'refs/pull/421/head'; commit 'refs/pull/422/head' into develop
| | | * | | Fix a documentation comment of Product(n)#productElementKato Kazuyoshi2012-04-2323-23/+23
| | | | |/ | | | |/| | | | | | | | | | | Fix SI-5168.
| | * / | Scaladoc's tests should work with test/partestKato Kazuyoshi2012-04-231-1/+6
| | |/ / | | | | | | | | | | | | Fix SI-5083.
| | * / Reflection and reification: Names and Symbols.Paul Phillips2012-04-2228-874/+985
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Consolidating many islands of name organization. Folds NameManglers into StdNames. Brings more of the string constants together with similar constants. Move name manipulation methods which produce TypeNames into object tpnme rather than nme. - Starting on MethodSymbolApi, ClassSymbolApi, etc so we can put sensible methods on sensible entities. This pushed into Definitions, where I pulled a whole bunch out of the api side (or at least marked my intention to do so -- too many tests use them to make them easy to remove) and on the compiler side, returned something more specific than Symbol a bunch of places. - Added a number of conveniences to Definitions to make it easier to get properly typed symbols. Note: one way in which you might notice having better typed Symbols is with Sets, which have the annoying property of inferring a type based on what they've been constructed with and then hard failing when you test for the presence of a more general type. So this: val mySet = Set(a, b) println(mySet(c)) ..goes from compiling to not compiling if a and b receive more specific types (e.g. they are MethodSymbols) and c is a Symbol or ClassSymbol or whatever. This is easily remedied on a site-by-site basis - create Set[Symbol](...) not Set(...) - but is an interesting and unfortunate consequence of type inference married to invariance. The changes to DummyMirror where things became ??? were driven by the need to lower its tax; type "Nothing" is a lot more forgiving about changes than is any specific symbol type.
| * / fixes SI-5689Eugene Burmako2012-04-214-1/+15
| |/
| *-------. Merge commit 'refs/pull/414/head'; commit 'refs/pull/415/head'; commit ↵Paul Phillips2012-04-2010-22/+30
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 'refs/pull/416/head'; commit 'refs/pull/417/head'; commit 'refs/pull/418/head' into develop
| | | | | | * a deprecated method that I forgot to restoreEugene Burmako2012-04-201-0/+3
| | | | | | |
| | | | | * | fixes SI-5680Eugene Burmako2012-04-207-15/+20
| | | | | |/
| | | | * / minor fix to macro tracingEugene Burmako2012-04-201-1/+1
| | | | |/
| | | * / SI-5677, Tiny typo. Fixed.Heather Miller2012-04-191-3/+3
| | | |/
| | * / suppresses warnings introduced in a2115b2352Eugene Burmako2012-04-191-3/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | locker.lib: [javac] Compiling 1 source file to C:\Projects\Kepler\build\locker\classes\library [javac] C:\Projects\Kepler\src\library\scala\concurrent\impl\Unsafe.java:17: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [javac] public final static sun.misc.Unsafe instance; [javac] ^ [javac] C:\Projects\Kepler\src\library\scala\concurrent\impl\Unsafe.java:20: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [javac] sun.misc.Unsafe found = null; [javac] ^ [javac] C:\Projects\Kepler\src\library\scala\concurrent\impl\Unsafe.java:21: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [javac] for(Field field : sun.misc.Unsafe.class.getDeclaredFields()) { [javac] ^ [javac] C:\Projects\Kepler\src\library\scala\concurrent\impl\Unsafe.java:22: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [javac] if (field.getType() == sun.misc.Unsafe.class) { [javac] ^ [javac] C:\Projects\Kepler\src\library\scala\concurrent\impl\Unsafe.java:24: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [javac] found = (sun.misc.Unsafe) field.get(null); [javac] ^ [javac] 5 warnings [propertyfile] Updating property file: C:\Projects\Kepler\build\locker\classes\library\library.properties [stopwatch] [locker.lib.timer: 0.908 sec]
| * | Good-bye, scala.dbc.Paul Phillips2012-04-2074-3631/+6
| | | | | | | | | | | | Another deprecated soul passes on to ether world.
| * | change com.typesafe.config dep to version 0.4.0Havoc Pennington2012-04-192-4/+4
| |/
* / scala.reflect.api: Reporters => FrontEndsEugene Burmako2012-04-2020-154/+146
|/
* Minor optimizations with nested list operations.Paul Phillips2012-04-188-26/+42
| | | | | | I also tried transforming a comment into an assertion and to my shock and happy surprise everything still worked. Let's express those preconditions in code when we can, mmm?
* Sigh, sbt needs this one too.Paul Phillips2012-04-182-3/+4
|
* Merge commit 'refs/pull/412/head'; commit 'refs/pull/413/head' into developPaul Phillips2012-04-1855-1075/+2087
|\
| * fixes testsEugene Burmako2012-04-173-12/+11
| |
| * reintroduces prematurely removed manifest factoriesEugene Burmako2012-04-172-46/+134
| |
| * assorted stability fixesEugene Burmako2012-04-1716-371/+510
| |
| * adds a dummy mirrorEugene Burmako2012-04-173-13/+760
| |
| * adds erasures to concrete type tagsEugene Burmako2012-04-1740-593/+669
| |
| * big fat error message, reloadedEugene Burmako2012-04-171-45/+3
| |
| * Try to fix sbt.Paul Phillips2012-04-172-3/+8
| | | | | | | | It depended on the signature of uncheckedWarnings.
* | Fix an potentially-disturbing error (typo?) in Either doc.Étienne Vallette d'Osia2012-04-171-1/+1
|/