summaryrefslogtreecommitdiff
path: root/src/compiler
Commit message (Collapse)AuthorAgeFilesLines
...
* Faster offsetToLineMartin Odersky2009-07-141-0/+28
|
* Enhanced repl based debugger to use manifests a...Paul Phillips2009-07-143-7/+39
| | | | | | | Enhanced repl based debugger to use manifests and try to get a usable type out of it. It works for at least a useful subset of the types which one might want to inspect.
* Fixed a couple of position bugs; made validatio...Miles Sabin2009-07-144-34/+57
| | | | | | Fixed a couple of position bugs; made validation output a bit more informative and readable.
* Added -Yide-debug option to exercise the intera...Miles Sabin2009-07-143-5/+35
| | | | | | Added -Yide-debug option to exercise the interactive compiler from the command-line; made validation errors a bit more informative.
* Reverted last change.Miles Sabin2009-07-131-9/+2
|
* Reinstated setContent.Miles Sabin2009-07-131-2/+9
|
* Performance oriented rewrite of BatchSourceFile.Paul Phillips2009-07-131-90/+56
| | | | | | shaves for me 2-2.5 minutes off the time to run "ant test.suite" from locker.
* Trying to make typechecker faster by (1) new su...Martin Odersky2009-07-1315-151/+443
| | | | | | | Trying to make typechecker faster by (1) new subtyping (2) better implicit caches. Disallowed '42 as a symbol. Added cache method to Mutable Maps. Better complietion in interactive.
* Fixed specialized method parameters.Iulian Dragos2009-07-123-5/+16
|
* Fix and test case for #1843.Paul Phillips2009-07-121-3/+15
|
* Making most of the symbols in Definitions into ...Paul Phillips2009-07-111-346/+267
| | | | | | Making most of the symbols in Definitions into stable identifiers. Removed some duplication and did some organization.
* Fix and test case for #1260.Paul Phillips2009-07-111-4/+6
|
* More refinement on MixLiterals.Paul Phillips2009-07-101-38/+35
|
* More of the same in the pattern matcher.Paul Phillips2009-07-102-119/+141
| | | | | | | targets the mixing rule which generates switch statements. We should soon be generating switches for quite a few more cases than we are at present.
* Implementation and test cases for canEqual meth...Paul Phillips2009-07-093-8/+27
| | | | | | | Implementation and test cases for canEqual method in case classes. Now the autogenerated equality method inquires with the argument as to whether other.canEqual(this) before returning true.
* The presently salvageable portion of my attempt...Paul Phillips2009-07-092-108/+119
| | | | | | | The presently salvageable portion of my attempt to fix bugs #425 and #816 (which I have indeed fixed, but a bazillion other test cases broke so the fix is commented out until I can make everyone happy at once.)
* I can no longer endure having one of the fundam...Paul Phillips2009-07-091-60/+60
| | | | | | | I can no longer endure having one of the fundamental pattern matcher variables (which incidentally holds multiple values) being named "temp". temp -> tvars, row -> rows.
* Temporarily reverting r18237 on iulian's behalf.Paul Phillips2009-07-081-2/+0
|
* More on the pattern matcher: continuing to give...Paul Phillips2009-07-083-109/+121
| | | | | | More on the pattern matcher: continuing to give things names I can understand and commenting what exactly things do.
* Annotations on type parameters are added to the...Iulian Dragos2009-07-081-0/+2
| | | | | | Annotations on type parameters are added to the initial symbols, not only skolems. This fixes specialized methods
* Lots of work hardening matching on sequences.Paul Phillips2009-07-073-127/+170
| | | | | | | | | | | | | | | | one long-standing bug which actually had a test case testing its bugginess (which is to say, when I fixed the bug, the test case failed.) This: - def doMatch4(xs:Seq[Char]) = xs match { - case Seq(x, y, _*) => x::y::Nil - case Seq(x, y, z, w) => List(z,w) // redundant! - } ...should never have compiled - which must have been recognized on some level given the "redundant!" comment, but it never made it into neg/.
* fixed Scala comments, added svn:keywordsmichelou2009-07-071-2/+6
|
* And more pattern matcher refinement.Paul Phillips2009-07-065-122/+100
|
* More naming and commenting, some moving to more...Paul Phillips2009-07-063-127/+130
| | | | | | More naming and commenting, some moving to more sensible locations, and removing unnecessary mutability.
* Implemented proposed strategy for #1503 and mov...Paul Phillips2009-07-051-1/+4
| | | | | | Implemented proposed strategy for #1503 and moved test case out of pending (and fixed it so it didn't throw a match error.)
* Made #576 output an error rather than crashing.Paul Phillips2009-07-051-2/+13
|
* Fixed positionsMartin Odersky2009-07-0512-332/+406
|
* Interim fix and test case for #1434.Paul Phillips2009-07-051-3/+9
|
* Removed a pile of gratuitous implicit parameter...Paul Phillips2009-07-056-897/+936
| | | | | | | Removed a pile of gratuitous implicit parameters from the pattern matcher. Moved many things to more believable locations. Transitioned everything in CodeFactory and deleted it.
* fix #2122, test for #2116Lukas Rytz2009-07-051-1/+2
|
* In an amazing pattern matcher breakthrough, I t...Paul Phillips2009-07-042-103/+140
| | | | | | In an amazing pattern matcher breakthrough, I think I actually understand the algorithm. More giving names to things.
* Wrote a subclass of tree printer which outputs ...Paul Phillips2009-07-033-84/+163
| | | | | Wrote a subclass of tree printer which outputs more to my liking.
* Beginnings of a tracing facility for the patter...Paul Phillips2009-07-035-89/+136
| | | | | | Beginnings of a tracing facility for the pattern matcher so I can see what's going wrong inside the optimization matrix of mystery.
* refined range positions some more; eliminated A...Martin Odersky2009-07-0218-181/+245
| | | | | refined range positions some more; eliminated Array.withDims
* Searched the TreeBuilder bathwater for the miss...Paul Phillips2009-07-021-31/+30
| | | | | | Searched the TreeBuilder bathwater for the missing baby and treated him for lazy val exposure. The kid is going to be OK.
* Instilling a little consistency in the pattern ...Paul Phillips2009-07-026-142/+112
| | | | | Instilling a little consistency in the pattern matcher.
* fix for #2116Lukas Rytz2009-07-022-2/+2
|
* Reverted treebuilder all the way to r18056.Paul Phillips2009-07-011-26/+30
|
* Working on pattern matcher debuggability.Paul Phillips2009-07-012-54/+54
|
* Creating case classes in preference to passing ...Paul Phillips2009-07-015-117/+175
| | | | | | | | Creating case classes in preference to passing around a variety of inscrutable tuples. And, fix and test case for #1697. There remain serious extractor issues which I hope to have fully diagnosed in the near future.
* added "diagnostic" to context.Lukas Rytz2009-07-012-3/+12
|
* Fix for #2092Antonio Cunei2009-07-011-2/+6
|
* More pattern matcher streamlining.Paul Phillips2009-07-012-56/+50
|
* Winnowing down the pattern matcher into smaller...Paul Phillips2009-06-302-41/+42
| | | | | Winnowing down the pattern matcher into smaller and smaller bits.
* Mostly rewriting Unapplies as I work my way thr...Paul Phillips2009-06-303-119/+113
| | | | | | Mostly rewriting Unapplies as I work my way through all the pattern matcher related code.
* minor cleanups for named argsLukas Rytz2009-06-305-39/+48
|
* Restored TreeBuilder to its only-deliver-untype...Paul Phillips2009-06-301-67/+80
| | | | | | Restored TreeBuilder to its only-deliver-untyped-trees state. Divorced it from TreeDSL completely actually.
* Enhanced error message when a type error is bec...Paul Phillips2009-06-301-7/+19
| | | | | | Enhanced error message when a type error is because of identically named classes, one in scala.* and one not.
* More elucidation work on the pattern matcher.Paul Phillips2009-06-305-102/+75
|
* A few residual DSL bits.Paul Phillips2009-06-302-23/+21
|