Skip to content

Commit

Permalink
🥢 backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
Philogy committed Oct 20, 2024
1 parent b336c3d commit 2f2eb2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/compilation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ fn generate_for_macro<'ast, 'src>(
)?;
}
_ => Err(format!(
"Compilation not yet implemented for this invocation type {:?}",
"Compilation not yet implemented for this invocation type `{:?}`",
invoke
))?,
},
Expand Down
3 changes: 2 additions & 1 deletion examples/errors/CompileError.huff
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#define constant WOW = 0x123
#define error NotSoNice()

#define macro MAIN() = takes(0) returns(0) {
__codesize(NICE)
__FUNC_SIG(NotSoNice)
[WOW]
}

Expand Down

0 comments on commit 2f2eb2f

Please sign in to comment.