diff options
author | Dan Kegel <[email protected]> | 2024-08-14 13:52:51 -0700 |
---|---|---|
committer | Ron Evans <[email protected]> | 2024-08-15 10:34:35 +0200 |
commit | 5368dd22c5c8bb7c7ae0e854569dd2ebcca504bb (patch) | |
tree | a38b7af6ad9971a4eb36ae1ad1769a5589baae24 /loader | |
parent | 194396d71570318eb581245c49778341474d8ef6 (diff) | |
download | tinygo-5368dd22c5c8bb7c7ae0e854569dd2ebcca504bb.tar.gz tinygo-5368dd22c5c8bb7c7ae0e854569dd2ebcca504bb.zip |
misspell.csv: add new misspellings; also check in result of 'make spellfix'.
Diffstat (limited to 'loader')
-rw-r--r-- | loader/loader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/loader.go b/loader/loader.go index fe75e6c9b..d10485707 100644 --- a/loader/loader.go +++ b/loader/loader.go @@ -180,7 +180,7 @@ func Load(config *compileopts.Config, inputPkg string, typeChecker types.Config) if len(fields) >= 2 { // There is some file/line/column information. if n, err := strconv.Atoi(fields[len(fields)-2]); err == nil { - // Format: filename.go:line:colum + // Format: filename.go:line:column pos.Filename = strings.Join(fields[:len(fields)-2], ":") pos.Line = n pos.Column, _ = strconv.Atoi(fields[len(fields)-1]) |