diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-22 15:59:53 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-22 16:00:27 +0800 |
commit | d3cd331e7932b9b74f5995e42bc9cafc33f5ce92 (patch) | |
tree | 2ce19fa5a9d6c8db47544e1b75433a667c0ab937 /src | |
parent | 226cc4db3cb1bfe8c5abc8ae2247c561b1111559 (diff) | |
download | mrust-d3cd331e7932b9b74f5995e42bc9cafc33f5ce92.tar.gz |
HIR Const Eval - (minor) comment about MIR cast op
Diffstat (limited to 'src')
-rw-r--r-- | src/hir_conv/constant_evaluation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir_conv/constant_evaluation.cpp b/src/hir_conv/constant_evaluation.cpp index cdd127f2..8834b6a8 100644 --- a/src/hir_conv/constant_evaluation.cpp +++ b/src/hir_conv/constant_evaluation.cpp @@ -836,6 +836,7 @@ namespace { auto inval = read_lval(e.val); TU_MATCH_DEF(::HIR::TypeRef::Data, (e.type.m_data), (te), ( + // NOTE: Can be an unsizing! TODO(sp, "RValue::Cast to " << e.type << ", val = " << inval); ), (Primitive, |