Skip to content

Illegal variable name: ‘enc[]Cons’ #115

@jwaldmann

Description

@jwaldmann

(with today's PR, with ghc-8.2)

stack test
...
/home/waldmann/projekte/my-co4/test/CO4/Example/Binary.hs:18:4: error:
    Illegal variable name: ‘enc[]Cons’
    When splicing a TH declaration:
      enc[]Cons = CO4.EncodedAdt.encodedConstructor 0 2 []
   |         
18 | $( compileFile [Cache,ImportPrelude] "test/CO4/Example/BinaryStandalone.hs" )
   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions