diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/symbol.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/symbol.go b/compiler/symbol.go index 9b9b1d10e..e53df30f1 100644 --- a/compiler/symbol.go +++ b/compiler/symbol.go @@ -345,7 +345,7 @@ func (c *compilerContext) parsePragmas(info *functionInfo, f *ssa.Function) { continue } if len(parts) != 2 { - c.addError(f.Pos(), fmt.Sprintf("expected one parameter to //go:wasmimport, not %d", len(parts)-1)) + c.addError(f.Pos(), fmt.Sprintf("expected one parameter to //go:wasmexport, not %d", len(parts)-1)) continue } name := parts[1] |