Skip to content

Seal VerificationError and ErrorReason?#749

Merged
marcoeilers merged 2 commits into
viperproject:masterfrom
pieter-bos:seal-verification-errors
Oct 26, 2023
Merged

Seal VerificationError and ErrorReason?#749
marcoeilers merged 2 commits into
viperproject:masterfrom
pieter-bos:seal-verification-errors

Conversation

@pieter-bos

Copy link
Copy Markdown
Contributor

Hi! We occasionally forget to match cases of ErrorReason/VerificationError. I think it would be nice if scalac warns us of this, so could we seal them?

Also, I notice that there are no ErrorReasons that are not also an AbstractErrorReason, and similarly no VerificationErrors that are not also a AbstractVerificationError (other than one mock), do you think it's a good idea to merge them?

@marcoeilers

Copy link
Copy Markdown
Contributor

Thanks! That seems like a reasonable change to me. Any objections @JonasAlaif?

@JonasAlaif

Copy link
Copy Markdown
Contributor

Looks good to me, when I was looking at this at some point before I also thought that there was some redundancy and would be in favour of merging

@marcoeilers marcoeilers merged commit 31c94df into viperproject:master Oct 26, 2023
@pieter-bos pieter-bos deleted the seal-verification-errors branch October 27, 2023 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants