Skip to content

Commit

Permalink
fix: use module name in macro call
Browse files Browse the repository at this point in the history
  • Loading branch information
nilslice committed Jan 23, 2024
1 parent a9b1070 commit 9c57e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cli/src/ts_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fn parse_user_interface(i: &Box<TsInterfaceDecl>) -> Result<Option<Interface>> {
.sym;
let type_name = typ.as_str();
if type_name != "I64" {
return anyhow!(
return anyhow::anyhow!(
format!("invalid type in function `{vn}`, using `{type_name}`. Interface `user` must only declare functions with type `I64`")
);
}
Expand Down

0 comments on commit 9c57e82

Please sign in to comment.