Skip to content

Verification errors mistreat the field cached #450

Open
@aterga

Description

@aterga

In particular, the method PartialVerificationError .withReason, which is implemented in many case classes all over src/main/scala/viper/silver/verifier/VerificationError.scala, needs to properly set the field cached. Otherwise, error transformations use withReason result in errors that might be actually cached with no way of checking that.

Thanks @marcoeilers for discovering this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions