Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle invalid syntax in doctests #1062

Merged
merged 7 commits into from
Jul 10, 2019
Merged

Handle invalid syntax in doctests #1062

merged 7 commits into from
Jul 10, 2019

Commits on Jul 8, 2019

  1. Configuration menu
    Copy the full SHA
    d619505 View commit details
    Browse the repository at this point in the history
  2. Add CHANGELOG

    mortenpi committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    7118b2b View commit details
    Browse the repository at this point in the history
  3. Pass emtpty backtrace for parse errors

    In the terminal, parse errors do not have a backtrace. But we still need
    to initialize the result.bt field.
    mortenpi committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    cfab3d7 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2019

  1. Handle backtrace more properly

    The heuristic in error_to_string which removes the backtrace below the
    highest Core.eval call works in most cases, but will fail if
    makedocs/doctest gets called in a more complicated context, as there may
    sometimes be eval calls higher up in the stacktrace.
    mortenpi committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    6685a9c View commit details
    Browse the repository at this point in the history
  2. Add more changelog

    mortenpi committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    0b461aa View commit details
    Browse the repository at this point in the history
  3. Remove doctest testing test for syntax errors

    On the nightly, syntax errors now get stacktraces, which means that
    their output is no longer deterministic. Hence we can't really compare
    against the fixed output.
    mortenpi committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    ca658c0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9775aab View commit details
    Browse the repository at this point in the history