Skip to content

Commit

Permalink
fix Issue 16316 - FQN of imports in mixin template not accessible
Browse files Browse the repository at this point in the history
- this is also fixed by searching the importedScopes for accessible packages
  • Loading branch information
MartinNowak committed Jul 29, 2016
1 parent 0a20f1d commit b517d86
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/compilable/imports/a313templatemixin1.d
@@ -0,0 +1,3 @@
void bug()
{
}
3 changes: 3 additions & 0 deletions test/compilable/imports/a313templatemixin2.d
@@ -0,0 +1,3 @@
void bug()
{
}
13 changes: 13 additions & 0 deletions test/compilable/test313a.d
Expand Up @@ -21,3 +21,16 @@ void test3()
{
imports.pkg313.c313.bug();
}

template imp()
{
static import imports.a313templatemixin1;
import imports.a313templatemixin2;
}

mixin imp!();
void test4()
{
imports.a313templatemixin1.bug();
imports.a313templatemixin2.bug();
}

0 comments on commit b517d86

Please sign in to comment.