Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes Issue 7795 - Original type must be stored before semantic analy…
…sis.
- Loading branch information
1 parent
6c01188
commit e3f3036
Showing
3 changed files
with
38 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// PERMUTE_ARGS: | ||
// REQUIRED_ARGS: -D -Ddtest_results/compilable -o- | ||
// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh 7795 | ||
|
||
module ddoc7795; | ||
|
||
struct TimeValue { | ||
this(int hour, int minute, int second = 0, int ms = 0) {} | ||
} | ||
|
||
/// | ||
struct DateTime { | ||
/// | ||
this(TimeValue t = TimeValue(0, 0)) {} | ||
} | ||
|
||
void main() { } |
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,19 @@ | ||
<html><head> | ||
<META http-equiv="content-type" content="text/html; charset=utf-8"> | ||
<title>ddoc7795</title> | ||
</head><body> | ||
<h1>ddoc7795</h1> | ||
<br><br> | ||
<dl><dt><big><a name="DateTime"></a>struct <u>DateTime</u>; | ||
</big></dt> | ||
<dd><br><br> | ||
<dl><dt><big><a name="DateTime.this"></a> this(TimeValue <i>t</i> = TimeValue(0,0)); | ||
</big></dt> | ||
<dd><br><br> | ||
</dd> | ||
</dl> | ||
</dd> | ||
</dl> | ||
|
||
<hr><small>Page generated by <a href="http://www.digitalmars.com/d/2.0/ddoc.html">Ddoc</a>. </small> | ||
</body></html> |