blob: 97b517dcdc3dba02e8969d198e8b09a91efde26d [file] [log] [blame]
package fillstruct
type StructPartialA struct {
PrefilledInt int
UnfilledInt int
StructPartialB
}
type StructPartialB struct {
PrefilledInt int
UnfilledInt int
}
func fill() {
a := StructPartialA{
PrefilledInt: 5,
} //@suggestedfix("}", "refactor.rewrite")
b := StructPartialB{
/* this comment should disappear */
PrefilledInt: 7, // This comment should be blown away.
/* As should
this one */
} //@suggestedfix("}", "refactor.rewrite")
}