aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Driver.scala
Commit message (Collapse)AuthorAgeFilesLines
* Make it easier to call the compiler using reflectionGuillaume Martres2015-10-291-1/+7
|
* Keep separate chain of outer reporters for StoreReportersMartin Odersky2015-10-261-1/+1
| | | | | | | | Used in rewritten `errorsReported` method. This fixes #866. The problem before was that `TyperState#trywithFallBack` temporarily updates the reporter, so crawling up the context chain to check for reporters with errors missed some reported errors, which triggered the assertion in `Tree#withType`.
* Shorten ctx.typerState.reporter to ctx.reporterMartin Odersky2015-10-261-1/+1
| | | | ... making use of method in `ctx`.
* Refactor DriverMartin Odersky2015-06-291-17/+24
| | | | | | - Make parts more reusable - Introduce hook "sourcesRequired" that controls whether no sources on the command line give a help message.
* Partest 1/3: Pass PrintWriter as argument for context creationvsalvis2015-06-241-4/+5
|
* Remove catch-rethrow in DriverDmitry Petrashko2014-12-171-2/+0
|
* Replace Throwable catches with NonFatalMartin Odersky2014-12-151-8/+6
| | | | | | Previously, stackoverflows led to infinite loops because the catch immediately threw another stack overflow. Anyway, one should never catch Throwable.
* Allow to provide parent Context for Driver.processDmitry Petrashko2014-04-111-3/+3
|
* Rename methods on FreshContext to make mutation obviousDmitry Petrashko2014-03-271-1/+1
| | | | And avoid name clashes
* New scheme for attachments.Martin Odersky2014-02-111-1/+1
| | | | | | | Added general way to put attachments on some base type (which needs to inherit from Attachment.Container). Used it to turn typedTree map into an attachment. Also, moved DotClass to dotc.util.
* Checking for already existing symbols before creating new ones.Martin Odersky2014-02-061-1/+1
| | | | | Otherwise we get spurious "compiled twice" errors on every symbol defined in a run after the first one. Also, fixed a bug so that now run ids are correctly incremented.
* New benchmark class that allows tuning for #compilers and #runsMartin Odersky2014-02-031-1/+1
| | | | | | | | by command line options like #compilers 3 #runs 10 This would create one after another 3 compiler instances and perform 10 runs in each.
* Added unit testing supportMartin Odersky2013-11-181-7/+12
|
* Fixes problem with printing summary after compilationMartin Odersky2013-09-281-1/+1
| | | | Used wrong context/wrong reporter before.
* Some additions to module completionMartin Odersky2013-08-191-2/+1
| | | | … more to come. Plus some bugfixes.
* Added main runner and driver.Martin Odersky2013-08-121-0/+44
Left dummies for Compiler and Run.