Skip to content

Typechecking error not detected with prop and list prop? #418

Description

@FissoreD
func mk-rule prop, list prop -> prop.
mk-rule P R (P :- !, R).

I suppose this rule is not typecheckable.
Why the typechecker is happy about it?
The correct version should be P :- [! | R]

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