mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 01:20:51 +03:00
Initial merge of upstream v2.071.0-b2
Notably, the glue layer side of the changed multiple interface inheritance layout (DMD a54e89d) has not been implemented yet. This corresponds to DMD commit 3f6a763c0589dd03c1c206eafd434b593702564e.
This commit is contained in:
parent
fa8fe51eb6
commit
9f998a398d
93 changed files with 5923 additions and 3779 deletions
|
@ -503,7 +503,7 @@ void DtoCreateNestedContext(FuncDeclaration *fd) {
|
|||
|
||||
// go through all nested vars and assign addresses where possible.
|
||||
for (auto vd : fd->closureVars) {
|
||||
if (needsClosure && vd->needsAutoDtor()) {
|
||||
if (needsClosure && vd->needsScopeDtor()) {
|
||||
// This should really be a front-end, not a glue layer error,
|
||||
// but we need to fix this in DMD too.
|
||||
vd->error("has scoped destruction, cannot build closure");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue