Skip to content

Bad type error message in presence of overloading #617

Open
@mn200

Description

@mn200

E.g.:

``(GENLIST (++) n = GENLIST f) n``;
Exception-
   HOL_ERR
     {message =
      "on line 3, characters 10-13:\nCouldn't infer type for overloaded name ++",
      origin_function = "type-analysis", origin_structure = "Preterm"} raised

There is a more fundamental error at a higher level (the equality must return bool, and to then try to apply this to anything is problematic.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions