mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 15:10:59 +03:00
Merge branch 'master' into merge-2.064
This commit is contained in:
commit
b22b7aef3c
1 changed files with 1 additions and 1 deletions
|
@ -1063,7 +1063,7 @@ void DtoResolveVariable(VarDeclaration* vd)
|
|||
Logger::println("parent: null");
|
||||
}
|
||||
|
||||
const bool isLLConst = vd->isConst() && vd->init;
|
||||
const bool isLLConst = (vd->isConst() || vd->isImmutable()) && vd->init;
|
||||
|
||||
assert(!vd->ir.initialized);
|
||||
vd->ir.initialized = gIR->dmodule;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue