aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorsago35 <[email protected]>2022-09-01 21:30:29 +0900
committerRon Evans <[email protected]>2022-09-03 11:50:41 +0200
commitc579e7e5092616872172b2dfd634d83f87d0bc88 (patch)
tree7549f6c5e3296e3e27236aab68c32d42310b17d4
parentd463528a72b7c4eb31bdb1bab52421a4003c3fee (diff)
downloadtinygo-c579e7e5092616872172b2dfd634d83f87d0bc88.tar.gz
tinygo-c579e7e5092616872172b2dfd634d83f87d0bc88.zip
Update compileopts/target.go
Co-authored-by: Ayke <[email protected]>
-rw-r--r--compileopts/target.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/compileopts/target.go b/compileopts/target.go
index 66bcf714d..f36561f90 100644
--- a/compileopts/target.go
+++ b/compileopts/target.go
@@ -100,7 +100,7 @@ func (spec *TargetSpec) overrideProperties(child *TargetSpec) error {
}
}
default:
- return fmt.Errorf("unknown field type : " + kind.String())
+ return fmt.Errorf("unknown field type: %s", kind)
}
}
return nil