summaryrefslogtreecommitdiff
path: root/src/hir/expr.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-06-26 17:43:32 +0800
committerJohn Hodge <tpg@mutabah.net>2016-06-26 17:43:32 +0800
commitc5012a5db0e6c4def2007768ce7f99d7fcaa5e75 (patch)
treed09626e06c643ced35a11b396cf7884ef4138488 /src/hir/expr.hpp
parent7be1b3aeb885bb020faddb3b390a49d6d6f206d5 (diff)
downloadmrust-c5012a5db0e6c4def2007768ce7f99d7fcaa5e75.tar.gz
HIR Typecheck - Comment on inferrence qurik
Diffstat (limited to 'src/hir/expr.hpp')
-rw-r--r--src/hir/expr.hpp1
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) ),