diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-02 09:26:48 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-02 09:26:48 +0800 |
commit | b60cbd35a5a7fdb22b0d031a9d684c0d88c60157 (patch) | |
tree | 68c5a61e116e4279c6e13f984e822afbbef74655 | |
parent | 5967b5ac48e1fcb50ce673fc96691392e2ae2692 (diff) | |
download | mrust-b60cbd35a5a7fdb22b0d031a9d684c0d88c60157.tar.gz |
HIR Typecheck Expr - (minor) Update comments
-rw-r--r-- | src/hir_typeck/expr_cs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hir_typeck/expr_cs.cpp b/src/hir_typeck/expr_cs.cpp index 8d76e21f..e1356c9e 100644 --- a/src/hir_typeck/expr_cs.cpp +++ b/src/hir_typeck/expr_cs.cpp @@ -4302,7 +4302,7 @@ namespace { else if( count == 1 ) { DEBUG("Only one impl " << v.trait << context.m_ivars.fmt(possible_params) << " for " << context.m_ivars.fmt_type(possible_impl_ty) << " - params=" << possible_params << ", ty=" << possible_impl_ty << ", out=" << output_type); - // TODO: If there are any magic params in the impl, don't use it yet. + // - If there are any magic params in the impl, don't use it yet. if( best_impl.has_magic_params() ) { return false; } @@ -4316,7 +4316,7 @@ namespace { for( unsigned int i = 0; i < possible_params.m_types.size(); i ++ ) { context.equate_types(sp, v.params.m_types[i], possible_params.m_types[i]); } - // TODO: Obtain the bounds required for this impl and add those as trait bounds to check/equate + // - Obtain the bounds required for this impl and add those as trait bounds to check/equate TU_IFLET( ImplRef::Data, best_impl.m_data, TraitImpl, e, assert(e.impl); for(const auto& bound : e.impl->m_params.m_bounds ) |