blob: edc46debc37fe9dbc5d8047c70b57e3a87e22cf8 [file] [log] [blame]
-- inlayHint --
package inlayHint //@inlayHint("package")
const True = true
type Kind int
const (
KindNone Kind = iota< = 0>
KindPrint< = 1>
KindPrintf< = 2>
KindErrorf< = 3>
)
const (
u = iota * 4< = 0>
v float64 = iota * 42< = 42>
w = iota * 42< = 84>
)
const (
a, b = 1, 2
c, d< = 1, 2>
e, f = 5 * 5, "hello" + "world"< = 25, "helloworld">
g, h< = 25, "helloworld">
i, j = true, f< = true, "helloworld">
)
// No hint
const (
Int = 3
Float = 3.14
Bool = true
Rune = '3'
Complex = 2.7i
String = "Hello, world!"
)
var (
varInt = 3
varFloat = 3.14
varBool = true
varRune = '3' + '4'
varComplex = 2.7i
varString = "Hello, world!"
)