[TODO] Implement cycle-detection for analyzer const-eval
Implement cycle-detection for analyzer const-eval.
Currently this panics:
```cyrus
import std::libc{printf};
const x = y + 2;
const y = x + 2;
pub fn main() {
printf("%d\n", x);
printf("%d\n", y);
}
```
Because I haven't implemented cycle-detection in analyzer's const-eval.
0 条评论