mirror of https://github.com/tinygo-org/tinygo.git
wasmstm32webassemblymicrocontrollerarmavrspiwasiadafruitarduinocircuitplayground-expressgpioi2cllvmmicrobitnrf51nrf52nrf52840samd21tinygo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
443 B
24 lines
443 B
thing: foo
|
|
Thing.Print: foo
|
|
is int: 5
|
|
is byte: 120
|
|
is string: foo
|
|
is Foo: 18
|
|
is Thing: foo
|
|
is *Thing: foo
|
|
is *Thing: foo
|
|
is struct{n int}
|
|
is struct{n int `foo:"bar"`}
|
|
is Doubler: 6
|
|
is Tuple: 1 7 11 13
|
|
Array len: 4
|
|
is Tuple: 1 7 11 13
|
|
ArrayStruct.Print: 4 3
|
|
is Tuple: 0 8 16 24
|
|
SmallPair.Print: 3 5
|
|
Stringer.String(): foo
|
|
Stringer.(*Thing).String(): foo
|
|
nested switch: true
|
|
non-blocking call on sometimes-blocking interface
|
|
slept 1ms
|
|
slept 1ms
|
|
|