We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da75398 commit a310e69Copy full SHA for a310e69
1 file changed
internal/compiler/compile_identifier.go
@@ -19,7 +19,7 @@ func (c *Compiler) compileIdentifier(id *ast.Identifier) error {
19
}
20
21
if !hasAddr {
22
- return fmt.Errorf("undefined variable: %s", id.Value)
+ return fmt.Errorf("%w: %s", errUndefinedVar, id.Value)
23
24
25
addrReg := c.incrementRegCounter()
0 commit comments