Check partial body resolve action does not resolve to declarations