carbon-lang icon indicating copy to clipboard operation
carbon-lang copied to clipboard

OOM in explorer type checking when a function with infinite recursion is specified in another function's return type

Open pk19604014 opened this issue 3 years ago • 1 comments
trafficstars

$ 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

pk19604014 avatar Jun 08 '22 21:06 pk19604014

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.

github-actions[bot] avatar Nov 23 '22 02:11 github-actions[bot]

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

chandlerc avatar Jan 20 '24 00:01 chandlerc