From 093bf1eb9149ba82258b5a5a159b2f54263b17c2 Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 31 Oct 2017 11:12:08 -0400 Subject: work in-progress: type checking associated types --- source/slang/decl-defs.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source/slang/decl-defs.h') diff --git a/source/slang/decl-defs.h b/source/slang/decl-defs.h index 4021f5a38..bb8c26f58 100644 --- a/source/slang/decl-defs.h +++ b/source/slang/decl-defs.h @@ -122,9 +122,8 @@ SYNTAX_CLASS(TypeDefDecl, SimpleTypeDecl) SYNTAX_FIELD(TypeExp, type) END_SYNTAX_CLASS() -// An 'assoctype' declaration -SYNTAX_CLASS(AssocTypeDecl, SimpleTypeDecl) - SYNTAX_FIELD(TypeExp, constraint) +// An 'assoctype' declaration, it is a container of inheritance clauses +SYNTAX_CLASS(AssocTypeDecl, ContainerDecl) END_SYNTAX_CLASS() // A scope for local declarations (e.g., as part of a statement) -- cgit v1.2.3