Commit Graph

2 Commits

Author SHA1 Message Date
Eduard Burtescu
4f5900aefa test: adjust for the move to MIR-based const checking. 2016-05-07 19:14:32 +03:00
Oliver Schneider
1471d932a9 move const block checks before lowering step
this makes sure the checks run before typeck (which might use the constant or const
function to calculate an array length) and gives prettier error messages in case of for
loops and such (since they aren't expanded yet).
2016-01-15 13:16:54 +01:00