see #18863 split ways: false positive warnings about missing members Solution for the problem case given in the unit test looks OK. Ticket mentiones two problems, so I am not sure if both are fixed now.