| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
rename test/pos/valueclasses to pos_valueclasses
tests/pos/valueclasses generates a valueclasses.flags
file in /tests/partest-generated/pos that conflicts
with the valueClasses.flags file that
tests/neg/valueClasses.scala tries to create
|
|
|
|
|
|
| |
* -Xprint:[...] alone prints the trees without diffs.
* -Xprint-diff enables the diff on -Xprint.
* -Xprint-diff-del enables the diff with deletes on -Xprint.
|
|
|
|
|
|
|
| |
* Do not reprint a tree that has not changed.
* Highlight changes with yellow and insertions in green.
* -Xprint-diff-del: Inserts the deleted parts of the tree in red
and the parts that where changed in magenta.
|
|
|
|
|
|
|
|
|
|
| |
There's a trap otherwise that, when in a class inheriting
from Context (and with it Reporting) a call to println will
go to this.println and therefore might not print at all, if
the current context buffers messages. I lost a lot of time
on this on several occasions when I scratched my head why
a simple debug println would not show. Better avoid this in
the future for myself and others.
|
| |
|
|
|
|
|
| |
No more leaking ofMove PatchedFiles in a settings option. Move all
patch classes into a `Rewrites` object.
|
|
|
|
|
| |
Firs version of patching that can be invoked by dotty compiler
itself.
|
|
|
|
|
| |
Print a phase after it has run, together with the time
it needs. Useful to locate performance problems in transforms.
|
| |
|
|
|
|
|
|
| |
ContextBase is not intended to be threadsafe, We now test that
indeed it is not shared by compileUnits calls operating on
different threads.
|
|
|
|
| |
... making use of method in `ctx`.
|
| |
|
|
|
|
|
| |
I scanned the main sources with IntellIJ's spell checker and
corrected what showed up.
|
| |
|
|\
| |
| | |
Compile from Tasty
|
| |
| |
| |
| | |
`FromTasty` is a main module which compiles TASTY info instead of sources.
|
|/
|
|
|
| |
This is useful for reproducing a problem. It tells us in particular in what order
fiels were compiled.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Two named types with same names and NoPrefix prefixes are not necessarily equal!
The fix uncovered an error in tailrec. When run on Decorators.scala, tailrec in its old
position at the end of a group produces not -Ycheckable code. Problem was fixed
by moving TailRec into its own group.
|
|
|
|
| |
Allows to alter number of compilation units.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Previous postcondition checking did not take into account that phases are
not flat - they consist in part of macro phases that contain miniphases.
In fact the whole set up in Run is dubiuos - we should eliminate the problem at the
root, as described in the TODO in run.
|
|
|
|
| |
That doesn't mean that it works.
|
|
|
|
|
|
|
| |
Have a general way how a phase can establish a postcondition which will be
checked each time a later phase is tree-checked.
Moves erasure constraints from TreeChecker to Erasure's post condition.
|
| |
|
|
|
|
|
|
|
| |
Implemented splitting operations
As a side effect, this contains a test ruling out structural term member dispatch.
Tests 0586 and 0625 which used structural dispatch got moved to neg.
|
|
|
|
|
| |
Right now uses a super-rudementary tree checker: we only check that every tree
has a type.
|
|
|
|
|
|
|
|
|
|
| |
Various fixes to the tree transformer.
In the denotation transformer we now keep self types around because otherwise
sourceModule would stop to work.
Conflicts:
src/dotty/tools/dotc/core/transform/Erasure.scala
|
|
|
|
|
|
|
|
|
|
|
|
| |
Run now interprets correctly
-YstopBefore
-YstopAfter
-Yskip
-Tprint
phase settings. For now, we stop by default before
erasure, until erasure is fully debugged.
|
|
|
|
|
|
|
|
| |
Many small and large changes. Added samplePhase to demonstrate functionality.
To test functioning, run the compiler with args
tests/pos/uncurry.scala -Ylog:sample,terminal
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Instead of throwing an exception if SImpleMap size goes over some threshold, we now report the largest constraint encountered in a run.
|
|
|
|
| |
… which shows snapshot of the callstack of tracked operations at fixed intervals.
|
|
|
|
| |
Used wrong context/wrong reporter before.
|
|
|
|
| |
Need to ensure that specially generated symbols in definitions are valid forever; otherwise they would disappear after first run.
|
|
|
|
|
| |
Some initial bug fixes.
Added -explaintypes diagnostics.
|
|
Left dummies for Compiler and Run.
|