mirror of
https://github.com/json-iterator/go.git
synced 2025-05-13 21:36:29 +02:00
Enhance test for overlap and embedded
This commit is contained in:
parent
b07d1abc4f
commit
9ec64591b6
@ -1,10 +1,15 @@
|
|||||||
package test
|
package test
|
||||||
|
|
||||||
type Embedded struct {
|
type E1 struct {
|
||||||
F1 int32
|
F1 int32
|
||||||
}
|
}
|
||||||
|
|
||||||
type T struct {
|
type E2 struct {
|
||||||
F1 string
|
F2 string
|
||||||
Embedded
|
}
|
||||||
|
|
||||||
|
type T struct {
|
||||||
|
E1
|
||||||
|
E2
|
||||||
|
F1 string
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user