summaryrefslogtreecommitdiff
path: root/src/compiler
Commit message (Collapse)AuthorAgeFilesLines
* added missing Implicits.scala fileMartin Odersky2009-03-131-0/+574
|
* Let package object members override package dir...Martin Odersky2009-03-138-480/+114
| | | | | | | Let package object members override package directory members; plus improvements that allow bottstrapping with a package object scala. Refactored implicits.
* fix for a typo which had disabled -Xshow-phases.Paul Phillips2009-03-131-1/+1
|
* Modifies try/catch/finally to allow arbitrary e...Paul Phillips2009-03-131-3/+6
| | | | | | | | | Modifies try/catch/finally to allow arbitrary expressions for try. Formerly { ... } was required for try. Now expressions like: val x = try Integer.parseInt("xx") catch { case e => 10 } work as one would hope.
* Miles and I agreed it is not sensible for the c...Paul Phillips2009-03-132-24/+0
| | | | | | Miles and I agreed it is not sensible for the compiler to make decisions about what's visible in the IDE: so, some cutting.
* More consolidation and duplication elimination ...Paul Phillips2009-03-132-9/+4
| | | | | More consolidation and duplication elimination in Properties.
* Minor changes to support the Eclipse plugin.Miles Sabin2009-03-131-1/+12
|
* apparently ant might pass an empty string as an...Paul Phillips2009-03-122-0/+3
| | | | | apparently ant might pass an empty string as an arg - discard it.
* A big cleanup of Settings code.Paul Phillips2009-03-1211-550/+613
| | | | | | | manage existing settings and add new ones. It's paving the way for low-fuss scalac preferences so we can exert fine grained config file based control over compiler behavior.
* Fixing accidental drop of .Paul Phillips2009-03-121-5/+1
|
* Bytecode generated for structural calls is impr...Gilles Dubochet2009-03-121-28/+26
| | | | | | Bytecode generated for structural calls is improved slightly. A test shows an improvement of roughly 5% for structural methods' call times.
* Making very repetitive Settings code less repet...Paul Phillips2009-03-101-53/+31
| | | | | Making very repetitive Settings code less repetitive.
* Adds debugger-like capabilities to repl.Paul Phillips2009-03-105-1/+46
| | | | | | | with -Ydebugger, then calls to breakIf(assertion, arg1, arg2, ...) will drop out to a repl if assertion proves true. This is very primitive at present and will improve.
* Code generation will keep the order of then/els...Iulian Dragos2009-03-102-6/+17
| | | | | | Code generation will keep the order of then/else parts of an if that tests for null
* Refactored a pile of duplicated Properties code...Paul Phillips2009-03-101-60/+16
| | | | | | Refactored a pile of duplicated Properties code into a trait which is used by the library, compiler, and partest Properties objects.
* removed deprecated warning, updated svn props, ...michelou2009-03-1020-253/+304
| | | | | removed deprecated warning, updated svn props, cleaned up code
* made unsafeTypeParams transform infos less eage...Martin Odersky2009-03-096-8/+22
| | | | | | made unsafeTypeParams transform infos less eagerly. Fixed private[this] variance hole.
* Removing the rest of what turned out to be anPaul Phillips2009-03-061-4/+0
| | | | | accidental commit by drmaciver.
* Changed linkedSym to use rawInfo rather than in...Paul Phillips2009-03-061-2/+1
| | | | | | Changed linkedSym to use rawInfo rather than info so the linked* methods in Symbol consistently refrain from forcing the type.
* syncPaul Phillips2009-03-061-1/+1
|
* Fixed failing stability test by restoring remov...Paul Phillips2009-03-061-0/+4
| | | | | Fixed failing stability test by restoring removed code.
* Reverted a small parser change which had the un...Paul Phillips2009-03-061-2/+2
| | | | | | Reverted a small parser change which had the unfortunate side effect of making it much harder to enter code into the interpreter.
* Fix for #1769.Paul Phillips2009-03-052-7/+11
|
* Another big Interpreter patch, this one mostly ...Paul Phillips2009-03-056-179/+365
| | | | | | | | | Another big Interpreter patch, this one mostly attacking InterpreterLoop. This adds opening cuts of a number of features: tab completion for repl identifiers (requires using -Ycompletion for now), a :power repl command that enables power user commands, and more. I'll document it properly once it's a bit less experimental.
* Removed most of the assertions from NewScanners...Paul Phillips2009-03-051-9/+13
| | | | | | | | Removed most of the assertions from NewScanners and replaced them with parse errors so as to limit the number of gratuitous compiler crashes. See at least tickets #822, #1674, #1682, and #1765. The error cascading still needs work.
* Major interpreter cleanup.Paul Phillips2009-03-043-486/+364
| | | | | | | | readability of generated code in preparation for accomplishing more advanced things on that front, but along the way I was also able to refactor out significant amounts of duplication and remove some dead code. This also fixes bug #1546.
* updated svn keywordsmichelou2009-03-0310-25/+59
|
* updated detach phasemichelou2009-03-031-4/+9
|
* Removed call to normalize, which fixes crashes ...Iulian Dragos2009-03-021-2/+3
| | | | | Removed call to normalize, which fixes crashes in the optimiser
* Fix and test case for #1392.Paul Phillips2009-03-021-1/+4
|
* Fix and test case for #1107, many long days in ...Paul Phillips2009-03-022-3/+5
| | | | | | | Fix and test case for #1107, many long days in the making. If you fully understand why this change causes #1107 to work I implore you to add a comment or two to Symbols.scala.
* Fix for ticket #1718David MacIver2009-02-283-10/+8
|
* Fix for #1745 - only emit generic signature if ...Paul Phillips2009-02-271-1/+4
| | | | | | Fix for #1745 - only emit generic signature if method is not deferred.
* Fix for #1743.Paul Phillips2009-02-271-16/+10
|
* Created separate -Xprint-icode setting so using...Paul Phillips2009-02-272-3/+4
| | | | | | Created separate -Xprint-icode setting so using -Xprint:all doesn't fill the current directory with usually unwanted .icode files.
* Fix for #1749; removed some dead code related t...Paul Phillips2009-02-272-16/+2
| | | | | Fix for #1749; removed some dead code related to regexp patterns.
* Reverting last commit as it seems to have cause...Paul Phillips2009-02-261-4/+1
| | | | | Reverting last commit as it seems to have caused breakage.
* Fix and test case for #1392.Paul Phillips2009-02-261-1/+4
|
* Removed $tag method from ScalaObject and rebuil...Paul Phillips2009-02-242-7/+0
| | | | | Removed $tag method from ScalaObject and rebuilt starr.
* Temporarily suppressing generic signatures on s...Paul Phillips2009-02-241-1/+1
| | | | | | Temporarily suppressing generic signatures on static forwarders until I can figure out the right way to fix #1745.
* Fix and test case for #1747.Paul Phillips2009-02-241-0/+1
|
* removed deprecated for-loops and unitsmichelou2009-02-243-26/+44
|
* removed deprecated for-loopsmichelou2009-02-2418-68/+72
|
* fixed several problems with cyclic references u...Martin Odersky2009-02-2311-34/+2403
| | | | | | fixed several problems with cyclic references uncovered by experimenting with collections. Added early type definitions.
* added a hook for annotation checkers in Typers....Tiark Rompf2009-02-232-2/+33
| | | | | added a hook for annotation checkers in Typers.adapt
* Continuation of r17177 to also check type annot...Paul Phillips2009-02-231-15/+21
| | | | | | Continuation of r17177 to also check type annotations; test case broadened accordingly.
* Fixed TokenMetric tool (for counting tokens).Gilles Dubochet2009-02-231-13/+7
|
* Fix and test case for #935; added test in RefCh...Paul Phillips2009-02-231-6/+23
| | | | | | Fix and test case for #935; added test in RefChecks to confirm that parameterized annotations conform to type bounds.
* When inferring a type is scala.Whatever, have t...Paul Phillips2009-02-222-5/+8
| | | | | | When inferring a type is scala.Whatever, have to take care to _root_ qualify it so a package named scala doesn't subvert it. Fixes #430.
* Proposed fix for #1735; may need refinement, bu...Paul Phillips2009-02-221-18/+8
| | | | | | Proposed fix for #1735; may need refinement, but I think this patch is less dangerous than the already commited patch for #363.