diff options
author | John Hodge <tpg@mutabah.net> | 2016-06-26 17:43:32 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-06-26 17:43:32 +0800 |
commit | c5012a5db0e6c4def2007768ce7f99d7fcaa5e75 (patch) | |
tree | d09626e06c643ced35a11b396cf7884ef4138488 | |
parent | 7be1b3aeb885bb020faddb3b390a49d6d6f206d5 (diff) | |
download | mrust-c5012a5db0e6c4def2007768ce7f99d7fcaa5e75.tar.gz |
HIR Typecheck - Comment on inferrence qurik
-rw-r--r-- | src/hir/expr.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir/expr.hpp b/src/hir/expr.hpp index 65e5bb0d..67548069 100644 --- a/src/hir/expr.hpp +++ b/src/hir/expr.hpp @@ -306,6 +306,7 @@ struct ExprNode_Cast: public ExprNode { ::HIR::ExprNodeP m_value; + // TODO: Re-instate the local type, to allow for coercions? ExprNode_Cast(Span sp, ::HIR::ExprNodeP value, ::HIR::TypeRef dst_type): ExprNode( mv$(sp), mv$(dst_type) ), |