Skip to content

Verification Statements do not support Printable #2350

@ekiwi

Description

@ekiwi

Type of issue: feature request

Impact: API addition (no impact on existing code)

Currently the Verification Statements (i.e. assert and assume) can take additional arguments that will result in a message being printed when the condition is violated. However, it only supports the "C"-style printing, i.e.: assert(a, "a=%d", a). In addition it would be nice if it also supported the Scala/Python style of printing like printf already does, i.e. assert(a, p"a=$a").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions