summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-10-13 10:32:16 +0800
committerJohn Hodge <tpg@mutabah.net>2016-10-13 10:32:16 +0800
commitde42f69f08ad867dbafa9883f2a85d5d2004a004 (patch)
tree87e748a01f23fe65d070e1a0d69014a89242d9e9 /src/resolve
parent1cd222f5381cf180634ee1846c6741472fce7644 (diff)
downloadmrust-de42f69f08ad867dbafa9883f2a85d5d2004a004.tar.gz
AST - Handle associated statics
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/absolute.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resolve/absolute.cpp b/src/resolve/absolute.cpp
index 16728075..793975fe 100644
--- a/src/resolve/absolute.cpp
+++ b/src/resolve/absolute.cpp
@@ -1829,7 +1829,8 @@ void Resolve_Absolute_ImplItems(Context& item_context, ::AST::NamedList< ::AST:
),
(Static,
DEBUG("Static - " << i.name);
- TODO(i.data.span, "Resolve_Absolute_ImplItems - Static");
+ Resolve_Absolute_Type( item_context, e.type() );
+ Resolve_Absolute_Expr( item_context, e.value() );
)
)
}
@@ -1871,7 +1872,8 @@ void Resolve_Absolute_ImplItems(Context& item_context, ::std::vector< ::AST::Im
),
(Static,
DEBUG("Static - " << i.name);
- TODO(i.data->span, "Resolve_Absolute_ImplItems - Static");
+ Resolve_Absolute_Type( item_context, e.type() );
+ Resolve_Absolute_Expr( item_context, e.value() );
)
)
}