mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-05-02 00:11:30 +02:00
Squashed 'dmd2/' changes from 3443f38..fc63fd3
fc63fd3 fix Issue 7843 - Regression(2.059 beta): Informational warning fails to produce executable 5947676 fix Issue 7820 - regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch 8789ad7 fix Issue 7815 - Mixin template forward reference (?) regression 41ad039 Merge pull request #862 from 9rnsr/fix7814 05224bd Merge pull request #859 from 9rnsr/fix7812 3c74279 Merge pull request #857 from 9rnsr/fix7808 3b6c54f Merge pull request #864 from donc/regression7786 9afb367 Fix typo in error message for 7786 6acabc2 Fix issue 7786 dmd crashes with invalid module name 7df0068 fix Issue 7814 - ICE(tocsym.c) using scope(failure) within foreach-range 2bf1c32 fix Issue 7812 - Segfault on invalid code during template match deduction with errors gagged a4f7070 fix Issue 7808 - Nullable's alias this does not work with structs containing classes git-subtree-dir: dmd2 git-subtree-split: fc63fd36d82117947f360496dcb625af99c16133
This commit is contained in:
@@ -4579,7 +4579,9 @@ Catch *Catch::syntaxCopy()
|
||||
}
|
||||
|
||||
void Catch::semantic(Scope *sc)
|
||||
{ ScopeDsymbol *sym;
|
||||
{
|
||||
if (type && type->deco)
|
||||
return;
|
||||
|
||||
//printf("Catch::semantic(%s)\n", ident->toChars());
|
||||
|
||||
@@ -4596,7 +4598,7 @@ void Catch::semantic(Scope *sc)
|
||||
}
|
||||
#endif
|
||||
|
||||
sym = new ScopeDsymbol();
|
||||
ScopeDsymbol *sym = new ScopeDsymbol();
|
||||
sym->parent = sc->scopesym;
|
||||
sc = sc->push(sym);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user