mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 07:23:39 +00:00
Add support for printing slices via print/println
With help from @aykevl.
This commit is contained in:
committed by
Ron Evans
parent
5fdb894760
commit
ea36fea5a9
Vendored
+4
@@ -45,4 +45,8 @@ func main() {
|
||||
|
||||
// print bool
|
||||
println(true, false)
|
||||
|
||||
// print slice
|
||||
println([]byte(nil))
|
||||
println([]int(nil))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user