Cleanups to previous commits for issue #1393.
This commit is contained in:
committed by
Marijn Haverbeke
parent
175196bbb8
commit
44352df57c
@@ -245,6 +245,8 @@ tag const_val {
|
||||
const_str(str);
|
||||
}
|
||||
|
||||
// FIXME (#1417): any function that uses this function should likely be moved
|
||||
// into the middle end
|
||||
fn eval_const_expr(e: @expr) -> const_val {
|
||||
fn fromb(b: bool) -> const_val { const_int(b as i64) }
|
||||
alt e.node {
|
||||
|
||||
Reference in New Issue
Block a user