-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unchecked optional access in compile subcommand (#4756)
Hi, I fixed a small issue that I found inside the "compile subcommand" component: The program can be crashed by running ```bazel run -- toolchain:carbon compile --dump-mem-usage "non-existing-file.carbon"``` - i.e. by activating the memory usage dump flag and passing a non-existing file. Best regards, oz
- Loading branch information
1 parent
13c121c
commit 7ed3b98
Showing
2 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters