Skip to content

More precision in reporting line numbers #36

@simonharris

Description

@simonharris

ERROR: /Users/simon/project_git/safecracker.pl/parser/tests/test_parser.pl:26:
ERROR: test parser:clue_01: received error: code_type/2: Type error: character' expected, found less' (an atom)

It's all true. But 26 is just the line with the head of the test/1 predicate in it. Can we add:

  • the line of the actual assert_* call that didn't pass
  • where in the code the Type error occurred
  • any further detail from deeper into the call stack
  • ...?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions