Skip to content

Conversation

@emilyaherbert
Copy link
Contributor

@emilyaherbert emilyaherbert commented Sep 30, 2022

Some of the calls to to_typeinfo(..).unwrap() were causing test cases to fail silently during my debugging process for another issue, so this PR eliminates most of instances of those (except a few cases of .expect(..)). Unfortunately converting from Result<TypeInfo, TypeError> to CompileResult<TypeInfo> requires more LOC than .unwrap(), so this PR is pretty green, although it doesn't add any new features.

@emilyaherbert emilyaherbert self-assigned this Sep 30, 2022
@emilyaherbert emilyaherbert requested a review from a team September 30, 2022 20:44
@emilyaherbert emilyaherbert marked this pull request as ready for review September 30, 2022 20:44
@emilyaherbert emilyaherbert enabled auto-merge (squash) September 30, 2022 20:47
@emilyaherbert emilyaherbert merged commit 85d9abe into master Oct 1, 2022
@emilyaherbert emilyaherbert deleted the emilyaherbert/dont-use-unwrap-on-to-typeinfo branch October 1, 2022 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants