-- suggestedfix_fill_struct_nested_13_20 -- | |
package fillstruct | |
type StructB struct { | |
StructC | |
} | |
type StructC struct { | |
unexportedInt int | |
} | |
func nested() { | |
c := StructB{ | |
StructC: StructC{ | |
unexportedInt: 0, | |
}, //@suggestedfix("}", "refactor.rewrite") | |
} | |
} | |