From d88a34d638d475b23e80ea6b583fbfa42580156e Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Thu, 11 Apr 2024 21:01:55 -0400 Subject: [PATCH] Scope constant declarations --- entity/misc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/entity/misc.go b/entity/misc.go index 7a8e3e7..7708e61 100644 --- a/entity/misc.go +++ b/entity/misc.go @@ -262,6 +262,7 @@ type ConstantDeclaration struct { // Semantics Ty Type + Scope } func (this *ConstantDeclaration) Position () errors.Position { return this.Pos } func (this *ConstantDeclaration) Type () Type { return this.Ty }