summaryrefslogtreecommitdiff
path: root/src/hir/type.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/type.hpp')
-rw-r--r--src/hir/type.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hir/type.hpp b/src/hir/type.hpp
index aaf79359..3bf384a6 100644
--- a/src/hir/type.hpp
+++ b/src/hir/type.hpp
@@ -14,6 +14,9 @@
#include <hir/expr_ptr.hpp>
#include <span.hpp>
+/// Binding index for a Generic that indicates "Self"
+#define GENERIC_Self 0xFFFF
+
namespace HIR {
class Struct;