reuse resolveFromParent
reuse resolveFromParent
resolveFromParent
?: type