Skip to content

Make P4-Constraints Typechecker Idempotent #140

@sumit7754

Description

@sumit7754

Current Behavior:

  • The function performs type checking on an expression.
  • If the expression has already been type checked, it explicitly fails (likely throws an error or returns a non-success status).

Desired Behavior (Idempotence):

  • The function should perform type checking on an expression.
  • If the expression has already been type checked and the types are valid, the function shouldn't modify the existing type information or cause any errors.
  • If the expression has already been type checked but has type errors, the function should still report the errors (existing error handling logic should remain intact).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions