Skip to content

Conversation

@axic
Copy link
Member

@axic axic commented Jan 18, 2020

Follow up of #161.
Depends on #198.

use super::{ChiselModule, ModuleConfig, ModuleError, ModuleKind, ModuleTranslator};
use super::{ChiselModule, ModuleError, ModuleKind, ModuleTranslator};

impl From<std::num::ParseIntError> for ModuleError {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could just implement From<E: Error> for ModuleError so that we can use the ? operator globally. In the end it's all a Custom enum value.

@axic axic merged commit 31e4575 into master Jan 20, 2020
@axic axic deleted the remove-new branch January 20, 2020 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants