diff options
author | John Hodge <tpg@mutabah.net> | 2016-06-09 13:41:42 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-06-09 13:41:42 +0800 |
commit | 07e785ffa329ef1a6f9c879546648b130fc45b29 (patch) | |
tree | 46f151989466c2d79ef976eb9b0f886cc3442aaa /src/hir/type.hpp | |
parent | 0969e056e0c1dcf8eef486a8125d3fd0d56134b6 (diff) | |
download | mrust-07e785ffa329ef1a6f9c879546648b130fc45b29.tar.gz |
HIR Typecheck - Plan: Use associated type bounds to expand further
Diffstat (limited to 'src/hir/type.hpp')
-rw-r--r-- | src/hir/type.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hir/type.hpp b/src/hir/type.hpp index adb48df0..597319a9 100644 --- a/src/hir/type.hpp +++ b/src/hir/type.hpp @@ -73,8 +73,8 @@ public: // - Pointer TAGGED_UNION(TypePathBinding, Unbound, - (Unbound, struct {}), // Not yet bound (state during first part of lowering) - TODO kill - (Opaque, struct {}), + (Unbound, struct {}), // Not yet bound, either during lowering OR during resolution (when associated and still being resolved) + (Opaque, struct {}), // Opaque, i.e. An associated type of a generic (or Self in a trait) (Struct, const ::HIR::Struct*), (Enum, const ::HIR::Enum*) ); |