Typechecker uses unwrap() to handle definitions
Open
- Dominant language
- Rust
- Stars
- 34
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
See [https://github.com/hellas-ai/catgrad/blob/master/catgrad/src/typecheck/interpreter.rs#L100]:
```rust
let lang::TypedTerm { term, .. } = self.environment.definitions.get(path).unwrap();
```
This should be a `Result::Err`, not a panic.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.