From b75f67bb89fc1930dcffb460f0b367c6973eeecb Mon Sep 17 00:00:00 2001 From: dchidindu5 Date: Tue, 29 Oct 2024 23:20:54 +0100 Subject: [PATCH] Update frontend --- compiler/src/dmd/dsymbol.h | 1 + compiler/src/dmd/frontend.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/src/dmd/dsymbol.h b/compiler/src/dmd/dsymbol.h index 7b33ed2910bf..ef777ac8033c 100644 --- a/compiler/src/dmd/dsymbol.h +++ b/compiler/src/dmd/dsymbol.h @@ -433,4 +433,5 @@ namespace dmd Dsymbols *include(Dsymbol *d, Scope *sc); void setScope(Dsymbol *d, Scope *sc); void importAll(Dsymbol *d, Scope *sc); + Scope* newScope(Dsymbol *d, Scope *sc); } diff --git a/compiler/src/dmd/frontend.h b/compiler/src/dmd/frontend.h index 4162052b111f..fc76e2af86b1 100644 --- a/compiler/src/dmd/frontend.h +++ b/compiler/src/dmd/frontend.h @@ -6508,7 +6508,6 @@ class ClassDeclaration : public AggregateDeclaration static ClassDeclaration* create(const Loc& loc, Identifier* id, Array* baseclasses, Array* members, bool inObject); const char* toPrettyChars(bool qualifyTypes = false) override; ClassDeclaration* syntaxCopy(Dsymbol* s) override; - Scope* newScope(Scope* sc) override; enum : int32_t { OFFSET_RUNTIME = 1985229328 }; enum : int32_t { OFFSET_FWDREF = 1985229329 }; @@ -6536,7 +6535,6 @@ class InterfaceDeclaration final : public ClassDeclaration { public: InterfaceDeclaration* syntaxCopy(Dsymbol* s) override; - Scope* newScope(Scope* sc) override; bool isBaseOf(ClassDeclaration* cd, int32_t* poffset) override; const char* kind() const override; int32_t vtblOffset() const override;