Scope constant declarations

This commit is contained in:
Sasha Koshka 2024-04-11 21:01:55 -04:00
parent fc930fa3d4
commit d88a34d638
1 changed files with 1 additions and 0 deletions

View File

@ -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 }