mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 11:37:46 +00:00
compiler: fix binops on named types in struct fields
This commit is contained in:
Vendored
+3
-1
@@ -58,8 +58,10 @@ var s2 = Struct2{"foo", 0.0, 5}
|
||||
|
||||
var a1 = [2]int{1, 2}
|
||||
|
||||
type Int int
|
||||
|
||||
type Struct1 struct {
|
||||
i int
|
||||
i Int
|
||||
b bool
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user