mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-06 20:13:40 +00:00
Update compileopts/target.go
Co-authored-by: Ayke <aykevanlaethem@gmail.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user