-- Remove embedded field "BasicInner" from selector --
package pkg

type MultiLevel struct{ BasicOuter }

func fnMulti() {
	var multi MultiLevel
	_ = multi.BasicOuter.F1 //@ diag(`could remove embedded field "BasicOuter" from selector`), diag(`could remove embedded field "BasicInner" from selector`)
	_ = multi.BasicOuter.F1 //@ diag(`could remove embedded field "BasicOuter" from selector`)
	_ = multi.F1            //@ diag(`could remove embedded field "BasicInner" from selector`)
	_ = multi.F1            // minimal form
}

-- Remove embedded field "BasicOuter" from selector --
package pkg

type MultiLevel struct{ BasicOuter }

func fnMulti() {
	var multi MultiLevel
	_ = multi.BasicInner.F1 //@ diag(`could remove embedded field "BasicOuter" from selector`), diag(`could remove embedded field "BasicInner" from selector`)
	_ = multi.F1            //@ diag(`could remove embedded field "BasicOuter" from selector`)
	_ = multi.BasicInner.F1 //@ diag(`could remove embedded field "BasicInner" from selector`)
	_ = multi.F1            // minimal form
}
