diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-05 10:19:30 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-05 10:19:30 +0800 |
commit | a17dd51423461fb6f32e4b2474d23756660cfa00 (patch) | |
tree | 6b5046ca75fb2b516346c00a831efe01aa3d1626 /src/resolve/absolute.cpp | |
parent | 9f7cc20fe625f11bca6910cdc286dde23e8127a5 (diff) | |
download | mrust-a17dd51423461fb6f32e4b2474d23756660cfa00.tar.gz |
Resolve/absolute - Handle module-level type aliases
Diffstat (limited to 'src/resolve/absolute.cpp')
-rw-r--r-- | src/resolve/absolute.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/resolve/absolute.cpp b/src/resolve/absolute.cpp index 39581b68..18273569 100644 --- a/src/resolve/absolute.cpp +++ b/src/resolve/absolute.cpp @@ -818,7 +818,12 @@ void Resolve_Absolute_Mod( Context item_context, ::AST::Module& mod ) ), (Type, DEBUG("Type - " << i.name); - TODO(Span(), "Resolve_Absolute_Mod - Type"); + item_context.push( e.params(), GenericSlot::Level::Top, true ); + Resolve_Absolute_Generic(item_context, e.params()); + + Resolve_Absolute_Type( item_context, e.type() ); + + item_context.pop( e.params() ); ), (Struct, DEBUG("Struct - " << i.name); |