diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-26 10:35:59 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-26 10:35:59 +0800 |
commit | 9fc7a883831b9186b666e2f9addc81c6d8a8d5b2 (patch) | |
tree | e1f0857855b2231a1795012c9df669afa0092320 /src/hir | |
parent | 9116a368440ac9a1642f4182c0641e3004b85374 (diff) | |
download | mrust-9fc7a883831b9186b666e2f9addc81c6d8a8d5b2.tar.gz |
(minor) Commenting
Diffstat (limited to 'src/hir')
-rw-r--r-- | src/hir/from_ast.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp index b8445020..1d2281d6 100644 --- a/src/hir/from_ast.cpp +++ b/src/hir/from_ast.cpp @@ -1207,6 +1207,7 @@ void LowerHIR_Module_Impls(const ::AST::Module& ast_mod, ::HIR::Crate& hir_crat ), (Static, if( e.s_class() == ::AST::Static::CONST ) { + // TODO: Check signature against the trait? constants.insert( ::std::make_pair(item.name, ::HIR::TraitImpl::ImplEnt< ::HIR::Constant> { item.is_specialisable, ::HIR::Constant { ::HIR::GenericParams {}, LowerHIR_Type( e.type() ), |