-
-
Notifications
You must be signed in to change notification settings - Fork 473
Closed
Description
A slight issue in the new optimized paradigm
type BarArray []float64
type Foo struct {
Bar BarArray
Baz int
}expr Foo.Bar[0] will fail
interface conversion: interface {} is int, not string | Foo.Bar[0]
following will work fine as Bar is defined as an intrinsic type
type Foo struct {
Bar []float64
Baz int
}Can there be a resolution to this? Thank you.
Metadata
Metadata
Assignees
Labels
No labels