Skip to content

Constraints inside list, map and union is not checked #491

@rishav-karanjit

Description

@rishav-karanjit

When we generate code for .NET and Java, it does not generate code to check for constraints inside list, map and union (Only .NET for union). Because of this, this PR is failing. Example of Failure:

SimpleConstraintsImplTest.TestConstraints: PASSED
WrappedSimpleConstraintsTest.TestConstraints: FAILED
        test/WrappedSimpleConstraintsTest.dfy(389,4): expectation violation
[Program halted] <stdin>(1,0): Test failures occurred: see above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    soundnessBugs that cause the generated code to compute the wrong value or crash

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions