summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [vpm] tailcalls support for jumpy vpmAdriaan Moors2012-03-202-12/+119
|
* [vpm] label-based translation of matchesAdriaan Moors2012-03-201-185/+173
|
* [vpm] TODO note: make unapply type list stricterAdriaan Moors2012-03-201-0/+5
| | | | | | | | when an unapply returns Option[T] where T is some ProductN, does that mean the unapply returns 1 result, i.e., that T, or did it mean to return N results? to disambiguate, falling back to stricter spec-adherence, which requires T be exactly TupleN for N results for now, allow extractor result to be any product, not just tuple
*-. Merge remote-tracking branches 'hubertp/topic/buildinfo', ↵Paul Phillips2012-03-2020-265/+457
|\ \ | | | | | | | | | 'VladUreche/issue/5248' and 'VladUreche/issue/5054-usecase-cleanup2' into develop
| | * Merge branch 'issue/5054-usecase-cleanup'Vlad Ureche2012-03-2017-261/+435
| |/| |/| | | | | | | | | | | Conflicts: test/scaladoc/scala/html/HtmlFactoryTest.scala
| | * Adapted usecases to full signature displayVlad Ureche2012-03-2014-243/+359
| | |
| | * Adapted indentation in scaladoc code blocksVlad Ureche2012-03-203-18/+76
| | | | | | | | | | | | | | | and fixed a pesky crash in the syntax highlighting caused by invalid chars (0x0E) in MarkupParser.scala.
| * | Fixes SI-5248Vlad Ureche2012-03-203-4/+22
|/ /
* | Discovered filter was still being generated.Paul Phillips2012-03-192-2/+2
| | | | | | | | | | | | | | | | | | Rather than withFilter, for a subset of for comprehension structures. Not sure if this was somewhat by design - only seems possible because refchecks was only looking for nme.filter, not nme.withFilter, so perhaps this was intended as some secret irrefutability backchannel? Really have to document that sort of thing if it's intentional. I assumed it wasn't and unified everything.
* | Finally did something about broken irrefutability.Paul Phillips2012-03-192-20/+34
| | | | | | | | | | | | | | | | | | | | | | The parser has always been confused about tuple patterns in for comprehensions. It thinks it can fail to recognize an irrefutable pattern and have it removed in refchecks, but it is sadly mistaken, because the unnecessary filter has a tendency to fail the compile in typer. Look more intently for irrefutable patterns and don't insert the unnecessary filter. Closes SI-5589, SI-1336.
* | Merge remote-tracking branch 'vjovanov/actors-move' into developPaul Phillips2012-03-1911-19/+115
|\ \
| * | Separating Scala Actors from the Scala Library.Vojin Jovanovic2012-03-1911-19/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | Scala actors are now in scala-actors.jar. Changes that were done are: - Fixed partest to include actors library for various test usages - Created the entry for the new jar in build.xml - Added maven entries for scala actors Review by: @jsuereth
* | | Merge remote-tracking branch 'adriaanm/ticket/5189' into developPaul Phillips2012-03-196-29/+53
|\ \ \
| * | | SI-5189: refined GADT soundness fixAdriaan Moors2012-03-196-29/+53
| |/ / | | | | | | | | | | | | extrapolate GADT skolems: only complicate types when needed make sure we only deskolemize GADT skolems after typedCase
* | | Chill out repl ctrl-char filter.Paul Phillips2012-03-191-9/+11
| | | | | | | | | | | | So colors can come through unscathed.
* | | Overhaul of NodePrinters.Paul Phillips2012-03-192-384/+287
| | | | | | | | | | | | | | | | | | | | | | | | | | | Drawing on the previous, a half-decade overdue overhaul of NodePrinters. Now with colors if you like colors. % scalac -Xprint:all -Yshow-trees -Dscala.colors a.scala Am heading toward general purpose color configuration.
* | | Tree adjustments.Paul Phillips2012-03-196-10/+24
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | I noticed that if we gave Ident a "qualifier" method which is always EmptyTree, a whole bunch of code could be simplified. A transparent subclass of Apply which preserves the source level "new" a little longer than never. Since productPrefix is tied up in reification - and oh I detest this "String"-based programming, we shouldn't have to wait until everyone learns this independently to change it - I added "printingPrefix" to Tree, which defaults to productPrefix but can be changed without breaking reify.
* | Merge branch 'mar17-colorize'Paul Phillips2012-03-185-0/+549
|\ \
| * | Library for ansi color management.Paul Phillips2012-03-185-0/+549
| | | | | | | | | | | | | | | | | | | | | | | | | | | Having now experienced the unbelievable difference it makes to have one's voluminous debugging output effectively color-coded, I had to librarize the ansi codes in order to use them. This could all go in the standard library, or as soon as I can easily make use of compiler dependencies, a separate library altogether. For now it hides away in scala.tools.util.color.
* | | Merge remote-tracking branches 'axel22/feature/checkinit-transient' and ↵Paul Phillips2012-03-1834-318/+565
|\ \ \ | | | | | | | | | | | | 'jsuereth/mirrored-seq-extractors' into develop
| * | | Added +: and :+ extractors to mirror append/prepend.Josh Suereth2012-03-162-0/+24
| |/ / | | | | | | | | | | | | | | | | | | | | | * +: does head/tail decomposition on any Seq * :+ does init/last decomposition on any Seq * Both preserve specific Seq types. Review by @odersky
| * | Eliminating warnings in Cleanup.Paul Phillips2012-03-163-74/+67
| | | | | | | | | | | | | | | | | | | | | | | | And un-overabstracting it a bit. When a method takes four parameters in two parameter lists, one of which is a closure acting on a tuple, and it turns out there are a total of three call sites and they all pass identical values for the first three parameters, it may be time to brush up on your YAGNI.
| * | Testing compiler asSeenFrom directly.Paul Phillips2012-03-164-17/+52
| | | | | | | | | | | | | | | | | | | | | It's more of a "dump what it says to a file so we'll know if any of this ever changes" than a "test" per se. It could use some wheat/chaff/nonsense/sense sorting. Still, it would be great to have more stuff like this.
| | |
| | \
| | \
| | \
| | \
| | \
| | \
| | \
| | \
| | \
| *---------. \ Merge remote-tracking branches 'VladUreche/feature/inheritdoc-clean', ↵Paul Phillips2012-03-1623-186/+406
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 'acruise/t1118', 'hubertp/issue/5572', 'hubertp/topic/nightly-checkinit', 'axel22/feature/pc-ctrie', 'jsuereth/master-version-fixin' and 'axel22/feature/checkinit-transient' into develop
| | | | | | | * | Fixed maven deployment issues for new versioning scheme.Josh Suereth2012-03-162-15/+20
| | | | | | | | |
| | | | | | | * | Finished migrating to new versioning schemeJosh Suereth2012-03-161-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: build.xml tools/get-scala-revision.bat
| | | | | | | * | properties loading is now maven/osgi version aware. yippie.Josh Suereth2012-03-161-14/+13
| | | | | | | | |
| | | | | | | * | Modified build for new versioning scheme.Josh Suereth2012-03-162-3/+4
| | | | | | | |/
| | | | | | * | Renamed concurrent trie source files.Aleksandar Prokopec2012-03-162-0/+0
| | | | | | | |
| | | | | | * | Renaming Ctrie to ConcurrentTrieMap.Aleksandar Prokopec2012-03-162-77/+77
| | | | | | | |
| | | | * | | | Remove assert given the test. Fixes #SI-5572.Hubert Plociniczak2012-03-161-1/+0
| | | | |/ / /
| | | * | | | Tweaked deprecation annotations to avoid warningAlex Cruise2012-03-152-2/+2
| | | | | | |
| | | * | | | Re-fixed 2.10-style literals. Oh, silly Windows and your line endings.Alex Cruise2012-03-151-1/+1
| | | | | | |
| | | * | | | SI-1118:Alex Cruise2012-03-152-462/+459
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use new-style deprecation annotations * Slightly less cutesy test text * Move t1118.scala to the right directory
| | | * | | | Cleaned up failed manual patchAlex Cruise2012-03-151-459/+459
| | | | | | |
| | | * | | | SI-1118 WIPAlex Cruise2012-03-1513-46/+115
| | | | | | |
| | * | | | | Merged and cleaned the 'feature/inheritdoc' branchVlad Ureche2012-03-164-32/+183
| | | | | | |
| * | | | | | Revert "More uniformity for the parser."Paul Phillips2012-03-162-39/+14
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f987afe55e6d4f71c7e9ad10d1ca9f6120dc1132. Looks like somebody misread the grammar. Look for it to return in one of paulp's exclusive branches for today's discriminating hacker.
| * | | | | Finish fixing range positions.Paul Phillips2012-03-162-2/+2
| | |_|_|/ | |/| | | | | | | | | | | | | At least, I think so.
* / | | | Simplify check for transient fields in mixin.Aleksandar Prokopec2012-03-161-1/+1
|/ / / /
* | | | More uniformity for the parser.Paul Phillips2012-03-162-14/+39
| | | | | | | | | | | | | | | | | | | | Type application and operator notation could not formerly be mixed. Now they can, as the grammar has always suggested.
* | | | New option -Ypos-debug, and fixed range position breakage.Paul Phillips2012-03-1515-75/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Looks like there is more range position breakage yet, but this gets the outermost layer.) Channeling my struggles into a slightly easier future. % scalac -Ypos-debug -d /tmp ./src/library/scala/Predef.scala ./src/library/scala/Predef.scala:222: warning: Positioned tree has unpositioned child in phase extmethods def x = __resultOfEnsuring ^ parent: #7109 line 222 Select // (value __resultOfEnsuring in class Ensuring) child: #7108 Ident // (value $this) ./src/library/scala/Predef.scala:258: warning: Positioned tree has unpositioned child in phase extmethods def x = __leftOfArrow ^ parent: #7280 line 258 Select // (value __leftOfArrow in class ArrowAssoc) child: #7279 Ident // (value $this) two warnings found Or try this to really see some output: % scalac -Yrangepos -Ypos-debug
* | | | Merge remote-tracking branches 'axel22/feature/checkinit-transient' and ↵Paul Phillips2012-03-15143-694/+1598
|\ \ \ \ | | | | | | | | | | | | | | | 'lrytz/relativeLinks' into develop
| * | | | create relative symlinks in ant scriptsLukas Rytz2012-03-151-1/+1
| | |/ / | |/| |
| * | | Whitespace and a couple checkfile updates.Paul Phillips2012-03-142-4/+4
| | | |
| * | | Merge branch 'master' into merge-inlinePaul Phillips2012-03-141-1/+0
| |\ \ \
| | * | | Eliminate build-breaking import.Paul Phillips2012-03-141-1/+0
| | | | | | | | | | | | | | | | | | | | ...from m. odersky's private collection of mysterious imports.
| * | | | The rest of the inline classes.Paul Phillips2012-03-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Have you often thought that programming is just like the movie 'Hackers', only with less rollerblading? Now that we have @inline skates, that last caveat can be retired. It's just like the movie 'Hackers'. Signed-off-by: Zero Cool
| * | | | Merge remote-tracking branch 'odersky/topic/inline' into merge-inlinePaul Phillips2012-03-14110-554/+1067
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/scala-compiler.jar.desired.sha1 lib/scala-library-src.jar.desired.sha1 lib/scala-library.jar.desired.sha1 src/compiler/scala/reflect/internal/Definitions.scala src/compiler/scala/reflect/internal/Symbols.scala src/compiler/scala/tools/nsc/Global.scala src/compiler/scala/tools/nsc/transform/Constructors.scala src/compiler/scala/tools/nsc/transform/Erasure.scala src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala src/compiler/scala/tools/nsc/typechecker/Contexts.scala src/compiler/scala/tools/nsc/typechecker/RefChecks.scala src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala src/library/scala/Function0.scala src/library/scala/Function1.scala src/library/scala/Function10.scala src/library/scala/Function11.scala src/library/scala/Function12.scala src/library/scala/Function13.scala src/library/scala/Function14.scala src/library/scala/Function15.scala src/library/scala/Function16.scala src/library/scala/Function17.scala src/library/scala/Function18.scala src/library/scala/Function19.scala src/library/scala/Function2.scala src/library/scala/Function20.scala src/library/scala/Function21.scala src/library/scala/Function22.scala src/library/scala/Function3.scala src/library/scala/Function4.scala src/library/scala/Function5.scala src/library/scala/Function6.scala src/library/scala/Function7.scala src/library/scala/Function8.scala src/library/scala/Function9.scala test/files/codelib/code.jar.desired.sha1 test/files/neg/anyval-children-2.check test/files/run/programmatic-main.check
| | * | | Allows case classes as value classesMartin Odersky2012-03-072-11/+17
| | | | |