about summary refs log tree commit diff
path: root/src/comp/middle/check_const.rs
AgeCommit message (Collapse)AuthorLines
2011-12-07Check for literals that are out of range for their typeMarijn Haverbeke-1/+18
2011-12-02const_check: trans: added support for trivial castsStefan Plantikow-0/+1
Part of #1215
2011-12-02Allow literal patterns to contain arbitrary literal expressionsMarijn Haverbeke-31/+46
This removes the need for the unary minus hacks, and allows some other neat things like matching on 1 >> 4. Issue #954
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-10Cleanup unused importsHaitao Li-1/+0
2011-11-09trans: Add binops (except for logic and comparators) and unops to ↵Joshua Wise-1/+13
trans_const_expr. Working towards issue #570.
2011-11-09middle: Add a pass to reject bad const expressions earlier. Currently just ↵Joshua Wise-0/+42
rejects unimplemented const expressions, but will be needed later.