Conversation
tlively
left a comment
There was a problem hiding this comment.
Seems fine to me, but we should still aim to switch to using std::variant at some point.
|
(will still take me a while to get used to this 😄) |
|
I don't understand what this is about? |
|
Do you mean the PR in general or my last comment? |
|
In general. I think it is better to make a PR description self-contained and understandable without reading another big PR and to other people who didn't review that big PR. |
|
Sorry again, I thought the description is fine. To give some context:
Other code sets
Previously one could construct
Previously the signature of While I can't undo merging this already, does this better explain the changes? |
This doesn't matter. |
Just not yet, since master is still using
Oh, interesting, didn't know. This part of the change is indeed unnecessary then. |
Outsourced safety guards for
exnrefLiterals I came up with in #3084.Literal::typeimmutable to guarantee that we do not lose track ofLiteral::exnby changing the literal's typeexnrefliterals without anExceptionPackage(for now)exnrefLiteral from astd::unique_ptr<ExceptionPackage>, avoiding a redundant copy by means of requiringstd::move