carbon-lang
carbon-lang copied to clipboard
OOM in explorer type checking when a function with infinite recursion is specified in another function's return type
$ cat /tmp/crash.carbon package P api;
fn g() -> Bool { return g(); }
fn f() -> g() { }
fn Main() -> i32 { return 0; }
$ time bazel run explorer:explorer /tmp/crash.carbon ...eventually OOMs real 45m43.497s user 33m10.615s sys 6m2.100s
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please comment or remove the inactive label. The long term label can also be added for issues which are expected to take time.
This issue is labeled inactive because the last activity was over 90 days ago.
Closing explorer-specific issues as not-planned for now due to our decision to prioritize working on the toolchain over other implementation work in the near term: https://github.com/carbon-language/carbon-lang/blob/trunk/proposals/p3532.md