summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add promises tests.Aleksandar Prokopec2012-04-302-0/+227
|
* Fixed a bug with setting execution contexts.Aleksandar Prokopec2012-04-307-57/+201
| | | | Ported most of the future tests.
* Porting akka future tests.Aleksandar Prokopec2012-04-273-9/+480
| | | | Fixed a bug in Future.zip.
* Trying to set an example in the land of macros.Paul Phillips2012-04-254-101/+117
| | | | | | | | 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.)
* More style tips for team macros.Paul Phillips2012-04-251-26/+13
|
* Reverts 211df62491 .Paul Phillips2012-04-251-67/+37
| | | | | A strange blip in the benchmarks makes me wish to see this on the sidelines.
*---. Merge commit 'refs/pull/439/head'; commit 'refs/pull/440/head'; commit ↵Paul Phillips2012-04-2541-225/+171
|\ \ \ | | | | | | | | | | | | 'refs/pull/441/head' into develop
| | | * diagnostics for SI-5692Eugene Burmako2012-04-254-3/+24
| | | |
| | * | fixes SI-5693Eugene Burmako2012-04-254-89/+85
| | |/
| * / removes Expr <-> Tree implicitsEugene Burmako2012-04-2533-133/+62
| |/
| |
| \
*-. \ Merge commit 'refs/pull/437/head'; commit 'refs/pull/438/head' into developPaul Phillips2012-04-259-13/+91
|\ \ \
| | * | updated tests now matches aren't translated if forInteractiveAdriaan Moors2012-04-252-5/+2
| | | |
| | * | fail gracefully on very messed up source filesAdriaan Moors2012-04-251-1/+1
| | | |
| | * | don't translate matches in the IDEAdriaan Moors2012-04-252-6/+8
| | | |
| * | | Added a Presentation Compiler test for hyperlinking.Iulian Dragos2012-04-255-1/+80
| | | | | | | | | | | | | | | | | | | | | | | | This test ensures hyperlinking works inside and around pattern matching. The new virtual pattern matcher synthesizes trees that are not properly nested, and whose positions make it impossible to retrieve the correct tree/symbol for a given position. Therefore, the current test is using the old pattern matcher. However, once the virtual pattern matcher is fixed, remove the corresponding line from patmat.flags to re-enable virtpatmat.
* | | | Minor tweaks to reifier logic.Paul Phillips2012-04-252-29/+39
| | | | | | | | | | | | | | | | Nothing too major, please see the comment.
* | | | Some long overdue conveniences.Paul Phillips2012-04-2511-24/+58
| |_|/ |/| | | | | | | | | | | | | | Not just conveniences though. One of the clearest statements made by profiling is that collections methods of the form of the enclosed flatCollect are materially faster than the alternatives.
* | | Merge commit 'refs/pull/436/head'Paul Phillips2012-04-253-0/+12
|\ \ \ | |_|/ |/| |
| * | fixes SI-5706Eugene Burmako2012-04-253-0/+12
| | |
* | | Fix reifier crashing repl.Paul Phillips2012-04-254-16/+54
| | | | | | | | | | | | | | | | | | 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.
* | | fixes SI-5707Eugene Burmako2012-04-253-4/+4
|/ /
* | Merge pull request #434 from adriaanm/topic/virtpatmatAdriaan Moors2012-04-250-0/+0
|\ \ | |/ |/| updated check file
| * updated check fileAdriaan Moors2012-04-241-1/+1
| |
* | Moved ancillary methods off specialized traits.Paul Phillips2012-04-2415-296/+183
| | | | | | | | | | | | | | 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.
* | Reordering genBlock match cases by frequency.Paul Phillips2012-04-241-36/+68
| |
* | Update checkfile with more backticks.Paul Phillips2012-04-241-1/+1
| |
* | Merge commit 'refs/pull/433/head' into developPaul Phillips2012-04-244-1/+19
|\ \ | |/ |/|
| * fixes SI-5704Eugene Burmako2012-04-244-1/+19
| |
* | TODO: use tree attachments instead of subclassesAdriaan Moors2012-04-241-2/+12
| |
* | copy BackQuotedIdent trees (don't copy as Ident)Adriaan Moors2012-04-246-2/+24
| | | | | | | | | | | | | | 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-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
|\ \ \ \