summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | patmatdebugAdriaan Moors2012-06-011-60/+57
| | | | | |
| * | | | | construct typed trees in TypeTestTMAdriaan Moors2012-06-011-3/+6
| | | | | |
| * | | | | all treemakers need positions for unreachable errorAdriaan Moors2012-06-011-6/+16
| |/ / / /
* | | | | Merge pull request #648 from pvlugter/issue/5792Adriaan Moors2012-06-031-13/+8
|\ \ \ \ \ | | | | | | | | | | | | More robust findScalaHome in bash scripts
| * | | | | More robust findScalaHome in bash scripts. See SI-5792Peter Vlugter2012-06-011-13/+8
| |/ / / / | | | | | | | | | | | | | | | | | | | | Allows multiple absolute or relative symlinks by jumping through the directories while following the links.
* | | | | Merge pull request #657 from paulp/parser-booleansAdriaan Moors2012-06-031-56/+57
|\ \ \ \ \ | | | | | | | | | | | | Made parser less hostile to inspection.
| * | | | | Made parser less hostile to inspection.Paul Phillips2012-06-021-56/+57
| | |/ / / | |/| | | | | | | | | | | | | By annotating all the boolean method arguments.
* / | | | Closes t5399. Review by adriaanmMartin Odersky2012-06-021-1/+1
|/ / / /
* | | | Merge pull request #649 from magarciaEPFL/icodeAfterAnyOptimizPhaseJosh Suereth2012-06-011-11/+19
|\ \ \ \ | | | | | | | | | | allows printing .icode files after any optimiz phase
| * | | | allows printing .icode files after any optimiz phaseMiguel Garcia2012-06-011-11/+19
| |/ / /
* / / / skipping unnecessary work in GenASM when emitting 1.5 classfilesMiguel Garcia2012-05-311-5/+6
|/ / /
* | | Merge pull request #645 from odersky/topic/inkling-consolidatedAdriaan Moors2012-05-306-81/+158
|\ \ \ | |/ / |/| | Partial redesign of incremental compiler invalidation.
| * | Partial redesign of incremental compiler invalidation.Martin Odersky2012-05-306-81/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now do the right thing when packages are either newly created or deleted. Previously there was a problem when a new package was created inside a system package (and, unofrtunately, root is a system package). That's fixed now. We also approximate more tightly now when packages are newly created (iei the newly created symbol gets rescanned, instead of its owner). Incremental class invalidation: dealing with empty package. The compiler can now also invalidate the empty package. Previously, no invalidation was done because empty was identified with root, which is considered a system package. (1) Fixed NPE when creating a new toplevel package in invalidation. (2) generalized interface to deal with multiple entries at a time.
* | | Merge pull request #638 from lrytz/wip/t5843Adriaan Moors2012-05-301-2/+2
|\ \ \ | |/ / |/| | fix t5843
| * | fix t5843Lukas Rytz2012-05-281-2/+2
| | |
* | | Merge pull request #640 from odersky/topic/inklingAdriaan Moors2012-05-287-6/+127
|\ \ \ | | | | | | | | Implemented functionality to invalidate classpath entries
| * | | Implemented functionality to invalidate classpath entries, to enable ↵Martin Odersky2012-05-287-6/+127
| | | | | | | | | | | | | | | | incremental compiles.
* | | | Merge pull request #636 from retronym/ticket/5845Adriaan Moors2012-05-281-1/+1
|\ \ \ \ | | | | | | | | | | SI-5845 Advances the example from a crasher to an inference failure.
| * | | | SI-5845 Advances the example from a crasher to an inference failure.Jason Zaugg2012-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The inference failure itself seems like an instance of of SI-3346. But dependent method types (which triggered the crash), can be employed to avoid inferring the type constructor CC. class Num[T] { def mkOps = new Ops class Ops { def +++(rhs: T) = () } } class A { implicit def infixOps[T](lhs: T)(implicit num: Num[T]): num.Ops = num.mkOps implicit val n1: Num[Int] = new Num[Int] { } 5 +++ 5 }
* | | | | Merge pull request #635 from adriaanm/topic/virtpatmatAdriaan Moors2012-05-281-1/+5
|\ \ \ \ \ | |_|_|/ / |/| | | | fixes for exhaustivity
| * | | | handle approximating alternative of empty patternAdriaan Moors2012-05-281-1/+4
| | | | |
| * | | | don't check exhaustivity involving user-defined unapplySeqAdriaan Moors2012-05-281-0/+1
| |/ / /
* | | | Merge pull request #633 from retronym/topic/value-class-bridgeAdriaan Moors2012-05-271-2/+13
|\ \ \ \ | |/ / / |/| | | Fix a NSDNHAO in extension methods.
| * | | Fix a NSDNHAO in extension methods.Jason Zaugg2012-05-271-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A bridge method, created when we override a method from a superclass and refine the return type, was appearing as an overloaded alternative. (`erasure` doesn't create new scopes, so the bridges it builds are visible at earlier phases.) The problem was masked when compiling with specialization, which *does* create a new scope, shielding the code in question from the artefacts of erasure. To fix the problem, we filter out bridge methods from the overloaded alternatives returned by `.decl`, as would happen internally in `.member`.
* | | | Handled some of our new exhaustiveness warnings.Paul Phillips2012-05-269-11/+17
| | | | | | | | | | | | | | | | Who could have suspected it would actually be right most of the time?
* | | | Help our new exhaustiveness checker.Paul Phillips2012-05-261-6/+9
|/ / / | | | | | | | | | ...be a little less chatty.
* | | Merge pull request #612 from adriaanm/ticket/5829Adriaan Moors2012-05-261-2/+2
|\ \ \ | | | | | | | | fix SI-5829: refinement typeref has a prefix
| * | | fix SI-5829: refinement typeref has a prefixAdriaan Moors2012-05-241-2/+2
| |/ /
* | | Merge pull request #625 from retronym/ticket/5318-3Adriaan Moors2012-05-252-35/+25
|\ \ \ | | | | | | | | SI-5318 Make implicit divergence checking PolyType aware.
| * | | SI-5318 Make implicit divergence checking PolyType aware.Jason Zaugg2012-05-252-35/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaces the two active subclasses of `SymCollector` with direct use of traversal methods of `Type`. Wildcard free class type parameters, not just method type parameters, when stripping the core type of candidate implicits. The spec doesn't make any such distinction, and the enclosed test, t5318c, crashes without this change.
* | | | Merge pull request #624 from hubertp/topic/cleanupJosh Suereth2012-05-253-23/+1
|\ \ \ \ | | | | | | | | | | Cleaning up some code introduced for the old presentation compiler long ...
| * | | | Cleaning up some code introduced for the old presentation compiler long time ↵Hubert Plociniczak2012-05-243-23/+1
| | | | | | | | | | | | | | | | | | | | ago. Review by @dragos
* | | | | Merge pull request #613 from hubertp/issue/5821Adriaan Moors2012-05-252-10/+16
|\ \ \ \ \ | | | | | | | | | | | | Closes SI-5821.
| * | | | | Closes SI-5821.Hubert Plociniczak2012-05-242-10/+16
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was an interesting one. Basically an erroneous import was creating an erroneous symbol for Array (similary for other symbols that were 'found' in this import) which was leading to all sorts of inconsistencies and spurious errors. This wasn't a bug in ContextErrors but rather something that existed for ages and was hidden from the general audience. Review by @paulp.
* | | | | Merge pull request #621 from axel22/issue/5085bAdriaan Moors2012-05-251-4/+22
|\ \ \ \ \ | | | | | | | | | | | | Fixes SI-5085 and SI-4833.
| * | | | | Fixes SI-5085 and SI-4833.Aleksandar Prokopec2012-05-251-4/+22
| | |_|/ / | |/| | |
* | | | | don't error when not emitting required switchAdriaan Moors2012-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | we don't handle switches with guards, whereas the old patmat did to ease the transition, let's not error out and see how we can resolve this
* | | | | Merge pull request #619 from magarciaEPFL/ticket-SI-5805Adriaan Moors2012-05-251-4/+5
|\ \ \ \ \ | | | | | | | | | | | | Fixes SI-5805
| * | | | | Fixes SI-5805Miguel Garcia2012-05-241-4/+5
| |/ / / /
* | | | | Merge pull request #618 from axel22/issue/5428Adriaan Moors2012-05-251-0/+5
|\ \ \ \ \ | | | | | | | | | | | | Fixes SI-5428.
| * | | | | Fixes SI-5428.Aleksandar Prokopec2012-05-241-0/+5
| |/ / / /
* | | | | Merge pull request #617 from phaller/implicit-execution-contextAdriaan Moors2012-05-244-42/+97
|\ \ \ \ \ | | | | | | | | | | | | Move implicit ExecutionContext to be determined by lexical scope
| * | | | | Move implicit ExecutionContext to be determined by lexical scopephaller2012-05-244-42/+97
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port of a pull request originally submitted by @havocp. - declare the invariant that all app callbacks have an associated ExecutionContext provided at the place the callback is passed to a method on Future - always run callbacks in their associated EC - since all callbacks have their own EC, Promise does not need one - "internal" callbacks don't need to defer execution either since we know the ultimate app callback will do so, therefore we can use an immediate executor for these
* / / / / Fixes SI-5441.Aleksandar Prokopec2012-05-241-2/+2
|/ / / /
* | | | Fix to naming of file.Josh Suereth2012-05-231-0/+0
| | | |
* | | | Merge branch 'master' into asm-compiled-onceJosh Suereth2012-05-2312-108/+115
|\ \ \ \
| * | | | Widen types in names/defaults transformations.Paul Phillips2012-05-231-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were getting away with this somehow, but the types are wrong after typer and that sort of thing is noticed by more people now. I took the opportunity to add our first -Ycheck:all test, which is at least as much about helping -Ycheck:all remain in good working order as it is about this test.
| * | | | Creator for superconstructor tree.Paul Phillips2012-05-237-19/+14
| | | | |
| * | | | Usability improvements to Origins.Paul Phillips2012-05-231-37/+49
| | | | |
| * | | | Cleanups in Treecheckers.Paul Phillips2012-05-231-34/+33
| | | | |