mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 00:55:49 +03:00
Fixed problems introduced by previous commits that prevented Tango from compiling.
This commit is contained in:
parent
ec986231e5
commit
be3bfbff5d
8 changed files with 63 additions and 44 deletions
|
@ -303,16 +303,6 @@ void DtoResolveFunction(FuncDeclaration* fdecl)
|
|||
return; // ignore declaration completely
|
||||
}
|
||||
|
||||
// is imported and we don't have access?
|
||||
if (fdecl->getModule() != gIR->dmodule)
|
||||
{
|
||||
if (fdecl->prot() == PROTprivate)
|
||||
{
|
||||
Logger::println("Ignoring private imported function %s", fdecl->toPrettyChars());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
//printf("resolve function: %s\n", fdecl->toPrettyChars());
|
||||
|
||||
if (fdecl->parent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue