Skip to content

line numbers in error messages #67

@jwaldmann

Description

@jwaldmann

if I have an incomplete pattern match (missing a case), I get

tc/CO4/Test/TermComp2014/Main.hs:1:1:
    Exception when trying to run compile-time code:
      Algorithms.Eitherize.matchFromConstructor: no match for constructor 'LinearInterpretation'
    Code: compileFile
            [CO4.Config.Cache, CO4.Config.Dump "/tmp/tc",
             CO4.Config.ImportPrelude]
            "tc/CO4/Test/TermComp2014/Standalone.hs"

while cabal build but it does not show the location of the case. Is srcloc info available in TH at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions