diff options
author | sago35 <[email protected]> | 2022-09-01 21:30:40 +0900 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-09-03 11:50:41 +0200 |
commit | fd052546831db2851c332a1c1c2a0a9d7042dc0f (patch) | |
tree | e4132db00c4a726dd59023362a2943ed9294cb8f /compileopts/target.go | |
parent | c579e7e5092616872172b2dfd634d83f87d0bc88 (diff) | |
download | tinygo-fd052546831db2851c332a1c1c2a0a9d7042dc0f.tar.gz tinygo-fd052546831db2851c332a1c1c2a0a9d7042dc0f.zip |
Update compileopts/target.go
Co-authored-by: Ayke <[email protected]>
Diffstat (limited to 'compileopts/target.go')
-rw-r--r-- | compileopts/target.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compileopts/target.go b/compileopts/target.go index f36561f90..865b8afeb 100644 --- a/compileopts/target.go +++ b/compileopts/target.go @@ -95,7 +95,7 @@ func (spec *TargetSpec) overrideProperties(child *TargetSpec) error { for j := i + 1; j < dst.Len(); j++ { w := dst.Index(j).String() if v == w { - return fmt.Errorf("duplicate value '" + v + "' in field : " + field.Name) + return fmt.Errorf("duplicate value '%s' in field %s", v, field.Name) } } } |