compiler: fix binops on named types in struct fields

This commit is contained in:
Ayke van Laethem
2018-11-24 22:13:01 +01:00
parent dbb3211485
commit f0fb1bd41a
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -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
}