There's no bug. As of 5.8.6 (or maybe 5.8.5, didn't check that) the reverse is indeed optimized away. However, the .. operator is still evaluated to produce the full list (at compile time). So there's a potential for optimizing that away also, but you can't actually call it a bug.