Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix Issue 13270 - ddoc can't find parameters of ditto'd function over…
…loads
- Loading branch information
Showing
5 changed files
with
101 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// PERMUTE_ARGS: -w | ||
// REQUIRED_ARGS: -o- -D -Dd${RESULTS_DIR}/compilable | ||
// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh 13270 | ||
|
||
module ddoc13270; | ||
|
||
/** | ||
* My overloaded function. | ||
* | ||
* Params: | ||
* task = String description of stuff to do. | ||
* tasks = Array of descriptions of stuff to do. | ||
* maxJobs = Max parallel jobs to run while doing stuff. | ||
*/ | ||
void doStuff(string task) {} | ||
|
||
/// ditto | ||
void doStuff(string[] tasks, int maxJobs) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<html><head> | ||
<META http-equiv="content-type" content="text/html; charset=utf-8"> | ||
<title>ddoc13270</title> | ||
</head><body> | ||
<h1>ddoc13270</h1> | ||
<br><br> | ||
<dl><dt><big><a name="doStuff"></a>void <u>doStuff</u>(string <i>task</i>); | ||
<br>void <u>doStuff</u>(string[] <i>tasks</i>, int <i>maxJobs</i>); | ||
</big></dt> | ||
<dd>My overloaded function. | ||
<br><br> | ||
<b>Params:</b><br> | ||
<table><tr><td>string <i>task</i></td> | ||
<td>String description of stuff to do.</td></tr> | ||
<tr><td>string[] <i>tasks</i></td> | ||
<td>Array of descriptions of stuff to do.</td></tr> | ||
<tr><td>int <i>maxJobs</i></td> | ||
<td>Max parallel jobs to run while doing stuff.</td></tr> | ||
</table><br> | ||
|
||
</dd> | ||
</dl> | ||
|
||
<hr><small>Page generated by <a href="http://dlang.org/ddoc.html">Ddoc</a>. </small> | ||
</body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters