use child's type instead of user specified one in typed expression