aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix IntellliJ support by making dotty-doc its own subprojectFelix Mulder2017-03-211-2/+2
|
* Move 'invalid super qualifier' error to new error format.Abel Nieto2017-03-171-0/+24
| | | | | | | | | As part of https://github.com/lampepfl/dotty/issues/1589, use the new error message for static super references where the qualifier isn't a parent of the class. Tested: Added unit test.
* Merge pull request #2043 from dotty-staging/tailrec-derivesFromDmitry Petrashko2017-03-151-2/+2
|\ | | | | Tailrec for derivesFrom/lookupRefined/classSymbol/classSymbols
| * Add @tailrec to avoid regressions.Nicolas Stucki2017-03-011-2/+2
| |
* | Merge pull request #2049 from ennru/ennru_RecursiveNeedsTypeodersky2017-03-091-1/+94
|\ \ | | | | | | Change "recursive/cyclic definitions needs type" errors to Message
| * | Analysis of overloaded or recursive is harder than expectedEnno Runne2017-03-071-3/+3
| | | | | | | | | | | | Fall-back to reporting "overloaded or recursive needs type".
| * | More detail in error messagesEnno Runne2017-03-051-2/+37
| | | | | | | | | | | | | | | | | | Split error messages for recursive method and overloaded method needs type into two (but did not solve the analysis which to show). Make CyclicReference type error construct corresponding error message.
| * | Explanations for recursive/cyclic type requirementsEnno Runne2017-03-041-0/+58
| |/
* | Remove unused scala.reflect importsGuillaume Martres2017-03-071-1/+0
| |
* | FixesMartin Odersky2017-03-051-3/+0
|/ | | | | (1) Drop unused error message (2) Drop test which is now illegal
* Merge pull request #2028 from ennru/ennru_AnnotatedPrimaryConstructorRequiresFelix Mulder2017-03-011-0/+14
|\ | | | | Change 'private, protected, or this expected' to Message
| * Change 'private, protected, or this expected' to MessageEnno Runne2017-02-231-0/+14
| |
* | Fix import which produces flakey test resultsMartin Odersky2017-02-251-1/+1
|/ | | | | Previous import gave test errors under eclipse. Probably due to some stray directory on the classpath.
* Merge pull request #2015 from dotty-staging/add-pf-overloadingodersky2017-02-231-0/+0
|\ | | | | Add overloading support for case-closures
| * Extend argument pretyping to case-closuresMartin Odersky2017-02-211-0/+0
| |
* | Change 'is abstract; cannot be instantiated' to MessageEnno Runne2017-02-201-0/+39
|/
* Change 'mixed left- and right-associative operators' to MessageEnno Runne2017-02-201-0/+23
|
* Use enum for error messages IDs.Nicolas Stucki2017-02-161-4/+2
|
* Change '... expected but found ...' to MessageEnno Runne2017-02-142-1/+30
|
* Ennru forward reference error (#1973)Enno2017-02-141-1/+23
| | | | | | | | | | * Change 'forward reference extending over the definition' to Message * Change 'forward reference extending over the definition' to Message * pesky file should not be included * Change 'forward reference extending over the definition' to Message (test case)
* Change 'overrides nothing' to report via Message (see #1965) (#1968)Enno2017-02-121-0/+43
| | | | | | * Change 'overrides nothing' to report via Message, split into two different messages * Change 'overrides nothing' to report via Message, split into two different messages
* Support expecting compiler errors from all phasesEnno Runne2017-02-102-4/+4
|
* Address reviews for #1966Felix Mulder2017-02-102-10/+12
|
* Make DottyTest a TraitFelix Mulder2017-02-102-3/+3
|
* Fix #1965: add proper testing infrastructure for reporting testsFelix Mulder2017-02-103-1/+116
|
* Merge pull request #1921 from dotty-staging/fix-#1907odersky2017-02-081-14/+19
|\ | | | | Fix #1907: Improve error message
| * Improve formattingMartin Odersky2017-02-011-14/+19
| |
* | fix incorrect flatten of thicket inside interpolated string in UntpdTreeMapliu fengyun2017-01-301-0/+32
|/
* Merge pull request #1896 from dotty-staging/fix/bootstrapGuillaume Martres2017-01-281-2/+2
|\ | | | | Add sbt-based bootstrap
| * Fix some dotty compilation errorsGuillaume Martres2017-01-281-2/+2
| |
* | Fix #1908: give synthetic default params correct flagsFelix Mulder2017-01-251-0/+49
|/
* Add useExplicitWhiteList for debugging.Nicolas Stucki2017-01-111-1/+27
|
* Simplify blacklist paths.Nicolas Stucki2017-01-051-1/+4
|
* Remove whitelist and keep only blacklist.Nicolas Stucki2017-01-051-2/+1
| | | | | | Now that that the blacklist is fully know and is small enough, it will be simpler to maintain only the blacklist.
* Add stdlib whitelist loader.Nicolas Stucki2017-01-051-0/+31
|
* Fix test pos/compileStdLibNicolas Stucki2017-01-031-2/+3
| | | | | | | | The issue was that all the files stdlib files where copied in partest-generated/pos/compileStdLib direclty (i.e. directories flattend). This implies that files with the same names would overwrite eachother (like `package.scala` and `Set.scala`).
* Cleanup of implicit modifiers schemeMartin Odersky2016-12-171-3/+3
| | | | | Implicit modifiers were quite irregular compared to the other ones. This commit does a cleanup.
* fix exhaustivity check test after repo restructuringliu fengyun2016-12-111-2/+2
|
* make REPL tests look at DOTTY_EXTRA classpath entriesMartin Odersky2016-11-241-1/+1
|
* Honor -verbose in testsMartin Odersky2016-11-231-1/+2
| | | | | -verbose output was suppressed like all other non-error output in the tests. Now we don't filter output if -verbose is set.
* Get rid off custom classpath in entry point testsFelix Mulder2016-11-232-17/+2
|
* Make tests depend on environment variables for classpath jarsFelix Mulder2016-11-235-18/+15
| | | | | | | | | | | | sbt adds the correct jars to classpath and the tests depend on `packageAll` which creates these. When using something else however, these together with `sbt-interfaces` do not get propagated from the build. To remedy this and make the testing a bit more flexible, we now take these from `sys.props` instead, see `tests/dotty/Jars.scala`. If the props aren't defined we fall back to the ones default to sbt.
* Move PatmatExhaustivityTest.scala in its proper placeGuillaume Martres2016-11-221-0/+90
|
* Remove unused examples dir, duplicate contained in tests/posFelix Mulder2016-11-221-2/+0
|
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-2233-0/+4001