aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update test caseMartin Odersky2017-02-081-1/+1
|
* Refine AnonClass generationMartin Odersky2017-02-081-1/+1
| | | | | | | | | The leading class should be the superclass of the first trait (which is not always Object). We could think of a more refined condition, (i.e. taking the least common superclass of all extended traits), but I think it's not worth it, as one can always spell out the right superclass manually.
* Refine checkTraitInheritance conditionMartin Odersky2017-02-081-3/+16
| | | | | | | | Need to take account of situations like extends Any with java.io.Serializable which occur in stdlib.
* Fix #1501 - Check trait inheritance conditionMartin Odersky2017-02-083-1/+31
| | | | | We need to check a coherence condition between the superclass of a trait and the superclass of an inheriting class or trait.
* Merge pull request #1918 from dotty-staging/fix-implicits-genericodersky2017-02-0815-22/+574
|\ | | | | Improvements to implicits
| * Add to test caseMartin Odersky2017-02-082-5/+20
| |
| * ADT and Serialization testMartin Odersky2017-02-088-0/+508
| | | | | | | | | | The test exercises all the improvements made in previous commits of this branch.
| * Print typerstate nesting info as part of constr printingMartin Odersky2017-02-082-5/+11
| | | | | | | | | | When printing info about adding to constraints, show the hashes of the typerstate stack, so that we know where constraints are added.
| * Implement SearchResult.showMartin Odersky2017-02-083-5/+31
| |
| * Allow implicit-by-name parametersMartin Odersky2017-02-082-7/+4
| |
| * Avoid recomputation of companionRefsMartin Odersky2017-02-081-5/+5
|/ | | | | | | | | | The previous condition for caching companionRefs contained a condition result.companionRefs.forall(implicitScopeCache.contains) which was always false because we cache types in `implicitCodeCache`, not companion refs. The new logic fixes this and does not need a second traversal because it is integrated in `iscopeRefs`.
* Merge pull request #1939 from dotty-staging/topic/dottydoc-html-enhancementsFelix Mulder2017-02-037-17/+165
|\ | | | | [doc] html enhancements
| * fix #1940 - broken .md linksFelix Mulder2017-02-031-4/+4
| |
| * Add constructors to docsFelix Mulder2017-02-033-17/+51
| |
| * Make sure `TypeAlias`es get proper docstrings and linked aliasesFelix Mulder2017-02-033-0/+14
| |
| * Add supertypes and annotations to entity titleFelix Mulder2017-02-033-0/+36
| |
| * Add type parameters to entity title and render return type correctlyFelix Mulder2017-02-032-1/+22
| |
| * Add expansion of docstringsFelix Mulder2017-02-032-1/+44
|/
* Merge pull request #1937 from dotty-staging/fix/classpath-dottydoc-testsFelix Mulder2017-02-033-24/+26
|\ | | | | Fix classpaths in dottydoc tests
| * Fix classpaths in dottydoc testsFelix Mulder2017-02-033-24/+26
| |
* | Merge pull request #1930 from dotty-staging/fix-#1568odersky2017-02-033-87/+97
|\ \ | | | | | | Fix #1568 - avoid transforming error trees
| * | Fix #1568 - avoid transforming error treesMartin Odersky2017-02-023-87/+97
| | | | | | | | | | | | | | | If a tree has type error, subtrees may not have an assigned type. Therefore we should avoid transforming such trees.
* | | Merge pull request #1933 from dotty-staging/merge-companionodersky2017-02-031-2/+4
|\ \ \ | |_|/ |/| | Weaken assumption in mergeCompanionDefs
| * | Weaken assumption in mergeCompanionDefsliu fengyun2017-02-021-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously `mergeCompanionDefs` assumes that if the attachment of class `Foo` is as follows: x :: y :: tdef @ TypeDef(_, templ) Then the `tdef` must be `Foo$`. When there are multiple pre-typer transforms, this is not necessarily true. For example, an annotation macro expansion may expand a non-case class `Foo` to `class Foo; object FooA`. We need to check the name of `tdef` to be equal to `Foo$`.
* | | Change integrations to only fire on changed build statusFelix Mulder2017-02-023-3/+10
| | |
* | | Update plugin using fixed secretFelix Mulder2017-02-022-2/+1
| | |
* | | Merge pull request #1935 from dotty-staging/fix/slackFelix Mulder2017-02-023-3/+4
|\ \ \ | |/ / |/| | Fix slack integration and allow empty to gh-pages
| * | Fix slack integration and allow empty to gh-pagesFelix Mulder2017-02-023-3/+4
|/ /
* | Merge pull request #1874 from dotty-staging/topic/dottydoc-markdownFelix Mulder2017-02-02128-2274/+5377
|\ \ | | | | | | [doctool] Add markdown support && Static site generation
| * | Add script to update orphan gh-pages branchFelix Mulder2017-02-023-0/+86
| | |
| * | Add position based error reporting to dottydocFelix Mulder2017-02-0115-197/+378
| | |
| * | Refactor templates and pages to deal with `SourceFile`Felix Mulder2017-02-018-111/+217
| | | | | | | | | | | | | | | This commit is the first step towards having reportable errors in the template files
| * | Make sure overriden members w/o docstring inherit by defaultFelix Mulder2017-02-012-2/+15
| | |
| * | Make naked codeblocks default to ScalaFelix Mulder2017-01-314-1/+39
| | |
| * | Refactor Wiki/Markdown commentFelix Mulder2017-01-316-108/+109
| | |
| * | Fix `setParent` for `TypeAlias` and only recurse from rootFelix Mulder2017-01-314-28/+36
| | | | | | | | | | | | | | | | | | Previously all packages would be iterated through on `setParent`. With this change, only the root packages will be mutated. This gives about 30% speedup for doc compile on Dotty
| * | Rename `java.scala` -> `JavaConverters.scala`Felix Mulder2017-01-315-7/+9
| | |
| * | Remove JSON, already provided by JacksonFelix Mulder2017-01-313-134/+1
| | |
| * | Remove faulty dottydoc APIFelix Mulder2017-01-314-107/+9
| | |
| * | Fix javadoc indentation style parsingFelix Mulder2017-01-3110-85/+176
| | |
| * | Document dottydoc capabilities, add anchored headersFelix Mulder2017-01-3112-11/+330
| | |
| * | Allow links in static site to reference API entitiesFelix Mulder2017-01-315-10/+39
| | |
| * | Fix codeblocks in shortened markdownFelix Mulder2017-01-312-27/+33
| | |
| * | Add @OlivierBlanvillain to the core devsFelix Mulder2017-01-315-5/+14
| | |
| * | Add `{% docstring "scala.collection.Seq" %}` supportFelix Mulder2017-01-314-2/+42
| | |
| * | Generalize table of contents for dottydocFelix Mulder2017-01-319-54/+169
| | |
| * | Add links for companions in tocFelix Mulder2017-01-313-9/+87
| | |
| * | Add `first` filter for to allow for first in both array and stringFelix Mulder2017-01-312-0/+17
| | |
| * | Fix insertion of package nodes in doc ASTFelix Mulder2017-01-3114-99/+205
| | |
| * | Link companions in doc ASTFelix Mulder2017-01-318-18/+92
| | |