summaryrefslogtreecommitdiff
path: root/parse/parse.h
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-07-05 22:34:12 -0700
committerOri Bernstein <ori@eigenstate.org>2017-07-05 22:34:12 -0700
commitb5cf804cbeb33a60bea00307c24aa361ea821530 (patch)
tree83a8d6f96e0fa36bdd7e1d8048768272d9e23297 /parse/parse.h
parent6e064ade4c10bce0127ebebf6cd1dc2bb24213f5 (diff)
downloadmc-b5cf804cbeb33a60bea00307c24aa361ea821530.tar.gz
Add some discipline to type bindings.
We actually now do it in terms of scopes. It's still hacky, but...
Diffstat (limited to 'parse/parse.h')
-rw-r--r--parse/parse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse/parse.h b/parse/parse.h
index c2f0b6c..d6d1024 100644
--- a/parse/parse.h
+++ b/parse/parse.h
@@ -277,6 +277,7 @@ struct Node {
Node *name;
Type *type;
Node *init;
+
/*
If we have a link to a trait, we should only look it up
when specializing, but we should not create a new decl