Skip to content

Commit dd47f51

Browse files
committed
R Dottydoc bugs+1
1 parent 64bca30 commit dd47f51

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

tastydoc/TODO.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,12 @@
1515
* Check remaining TODOs/TOASKs/TOFIX
1616

1717
# Representation
18-
* Make sense of the parents field
1918
* Id for typeparams so we can link (Do not link)
2019
* Alias type
2120
* Rework type matching
22-
* Remove artifcat and synthetic in package members
2321

2422
# Output
2523
* Output inner class/object if not inherited
26-
* Doc for packages
27-
* Fix $
2824

2925
# Features for beyond the project
3026
* TypeLambdas
@@ -42,8 +38,8 @@
4238
* Error in calling owner
4339
* Order in type matching symbol counts...
4440
* Remove artifacts in packages
45-
* Remove val for case classes
4641
* No way to get doc for packages?
4742
* Abstract flag not working
43+
* filter(!_.symbol.flags.is(Flags.StableRealizable)) good idea or not?
4844

4945
* Not consistant reference (f.ex object in parents)

tastydoc/report/report.pdf

487 Bytes
Binary file not shown.

tastydoc/report/report.tex

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,13 @@ \section{Bugs in Dottydoc that Tastydoc fixes}
259259
def Definitions_FunctionClass$default$2 : Boolean
260260
\end{lstlisting}
261261

262+
\paragraph{Potentially program breaking code}
263+
In Dottydoc one can find pieces of code that may break the program if used, such as\footnote{dotty/tools/dottydoc/model/entities.scala}:
264+
\begin{lstlisting}[language=scala]
265+
def parents: List[Entity] = this :: this.parents
266+
\end{lstlisting}
267+
This is obviously an infinite recursion. Fortunately this method is never used.
268+
262269
\chapter{Problems}
263270
\label{sec:problems}
264271
A few problems were encountered during the tools' development, some could not be fixed for reasons detailed below.

0 commit comments

Comments
 (0)