RE, Results versus panicking, I think we can create another issue to return results here and panic further up the stack or possibly not panic and keep bubbling it up the stack -- We were already panicking which is why I think its okay to leave that for another PR
We should determine if we consider some CrateGraph functions to be public and, if so, decide if they should return results.
Happy Case
Public APIs should not panic, even if we still panic further up the stack while consuming the APIs.
Problem
From https://github.com/noir-lang/noir/pull/2391#issuecomment-1688687666
We should determine if we consider some
CrateGraph
functions to be public and, if so, decide if they should return results.Happy Case
Public APIs should not panic, even if we still panic further up the stack while consuming the APIs.
Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response