| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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 compiler to make decisions
about what's visible in the IDE: so, some cutting.
|
|
|
|
|
| |
More consolidation and duplication elimination in Properties.
|
| |
|
|
|
|
|
| |
apparently ant might pass an empty string as an arg - discard it.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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 repetitive.
|
|
|
|
|
|
|
| |
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/else parts of an if that
tests for null
|
| |
|
|
|
|
|
|
| |
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, cleaned up code
|
| |
|
|
|
|
|
|
| |
made unsafeTypeParams transform infos less eagerly. Fixed private[this]
variance hole.
|
|
|
|
|
| |
accidental commit by drmaciver.
|
|
|
|
|
|
| |
Changed linkedSym to use rawInfo rather than info so the linked* methods
in Symbol consistently refrain from forcing the type.
|
| |
|
|
|
|
|
| |
Fixed failing stability test by restoring removed code.
|
|
|
|
|
|
| |
Reverted a small parser change which had the unfortunate side effect of
making it much harder to enter code into the interpreter.
|
| |
|
|
|
|
|
|
|
|
|
| |
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 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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Removed call to normalize, which fixes crashes in the optimiser
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Iterable no-arg mkString changed to call mkString() to avoid NPEs.
|
|
|
|
|
| |
Fix for #1365, '_' should be a standard identifier char.
|
|
|
|
|
|
| |
Fix for #1745 - only emit generic signature if method is not
deferred.
|
| |
|
|
|
|
|
|
| |
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 to regexp patterns.
|
| |
|
|
|
|
|
| |
Reverting last commit as it seems to have caused breakage.
|
| |
|
| |
|
|
|
|
|
|
| |
Altered 2-argument versions of Predef's assert, assume, and require to
be call-by-name.
|
|
|
|
|
| |
Removed $tag method from ScalaObject and rebuilt starr.
|
|
|
|
|
|
| |
Temporarily suppressing generic signatures on static forwarders until I
can figure out the right way to fix #1745.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
fixed several problems with cyclic references uncovered by experimenting
with collections. Added early type definitions.
|
| |
|