Skip to content

GLR_Lib.hs "Couldn't match expected type ‘Bool’ with actual type ‘Int#’" #173

Description

@andreasabel

GLR mode seems broken. Trying to compile the generated parser reports several instances of the error Couldn't match expected type ‘Bool’ with actual type ‘Int#’.
E.g

GLR_Lib.hs:236:33: error:
    • Couldn't match expected type ‘Bool’ with actual type ‘Int#’
    • In the expression: (this_state ==# goto this_state m)
      In a stmt of a list comprehension:
        (this_state ==# goto this_state m)
      In the expression:
        [m |
           (m, 0, _) <- rs,
           (this_state ==# goto this_state m),
           m `notElem` cyclic_names]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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