-
-
Notifications
You must be signed in to change notification settings - Fork 813
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[codegen]: fix
raw_log()
when topics are non-literals (#3977)
this commit fixes codegen for the `raw_log()` builtin when the topics are non-literals. `unwrap_location()` was not being called, so when the topic expression is not a literal, the pointer to the variable was being returned instead of the value of the variable.
- Loading branch information
1 parent
dea5d2b
commit 120b7d5
Showing
2 changed files
with
77 additions
and
6 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