summaryrefslogtreecommitdiff
path: root/parse/parse.h
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-09-02 16:11:54 -0700
committerOri Bernstein <ori@eigenstate.org>2017-09-02 16:11:54 -0700
commit290709fdfc3fa92e84f9f2bf214c6a144f24c5ee (patch)
tree4d61591c8231c21807599b84541d0e790216b3c6 /parse/parse.h
parent987d3f2938a42db4285417109fed8d4a82655676 (diff)
downloadmc-290709fdfc3fa92e84f9f2bf214c6a144f24c5ee.tar.gz
Unjank trait resolution.
Diffstat (limited to 'parse/parse.h')
-rw-r--r--parse/parse.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse/parse.h b/parse/parse.h
index afed7ef..aaba54f 100644
--- a/parse/parse.h
+++ b/parse/parse.h
@@ -125,6 +125,9 @@ struct Type {
Vis vis;
+ Node **traits; /* trait list */
+ size_t ntraits; /* trait list size */
+
Type **gparam; /* Tygeneric: type parameters that match the type args */
size_t ngparam; /* Tygeneric: count of type parameters */
Type **arg; /* Tyname: type arguments instantiated */