Add support to the partial evaluator for evaluating literal types and tuples. resolves #41338 PR Close #41661