chore: use LitValue.toExpr instead of duplicating its definition (#8398)

1 file changed