Marijn Haverbeke
|
e2e077c831
|
Remove trivial cast checker
I consider the added complexity not justified at this point, and it
interacts badly with the patches for issue #828. Feel free to discuss.
|
2011-12-22 15:04:00 +01:00 |
|
Marijn Haverbeke
|
3d0610b072
|
Check for literals that are out of range for their type
|
2011-12-07 21:53:05 +01:00 |
|
Stefan Plantikow
|
68a82e4468
|
const_check: trans: added support for trivial casts
Part of #1215
|
2011-12-02 11:58:35 -08:00 |
|
Marijn Haverbeke
|
64ce092c27
|
Allow literal patterns to contain arbitrary literal expressions
This removes the need for the unary minus hacks, and allows some other
neat things like matching on 1 >> 4.
Issue #954
|
2011-12-02 13:42:51 +01:00 |
|
Niko Matsakis
|
adc79e2f44
|
remove compile-command from local variable blocks
|
2011-11-17 11:46:13 -08:00 |
|
Haitao Li
|
5a7249c935
|
Cleanup unused imports
|
2011-11-10 19:19:40 -08:00 |
|
Joshua Wise
|
c8fae5dc75
|
trans: Add binops (except for logic and comparators) and unops to trans_const_expr. Working towards issue #570.
|
2011-11-09 14:33:06 -08:00 |
|
Joshua Wise
|
e674a7e99f
|
middle: Add a pass to reject bad const expressions earlier. Currently just rejects unimplemented const expressions, but will be needed later.
|
2011-11-09 14:33:05 -08:00 |
|