-
-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4735 from 9rnsr/fix14666
[REG2.061] Issue 14666 - Bogus forward reference error
- Loading branch information
Showing
4 changed files
with
26 additions
and
1 deletion.
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,9 @@ | ||
| module imports.test14666a; | ||
|
|
||
| auto getNames() | ||
| { | ||
| import imports.test14666b; | ||
| return ""; | ||
| } | ||
|
|
||
| enum Names = getNames; |
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,8 @@ | ||
| module imports.test14666b; | ||
|
|
||
| import test14666; | ||
|
|
||
| struct Token | ||
| { | ||
| Location location; | ||
| } |
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,8 @@ | ||
| // REQUIRED_ARGS: -o- | ||
| // PERMUTE_ARGS: | ||
| module test14666; | ||
|
|
||
| struct Location | ||
| { | ||
| import imports.test14666a; | ||
| } |