Skip to content

Test failures related to recent changes #144

Open
@samth

Description

@samth

Currently, the check-info-test.rkt and standalone.rkt tests fail. We need to decide on a resolution to this issue for the upcoming 8.2 release.

The story here is that we wanted to treat exceptions during argument evaluation of check forms as errors. #109 (a revised version of #107) was merged to do that. That led to bug racket/racket#3410, a regression. That was fixed in #123, but that led to another regression in standalone.rkt. That was then intended to be fixed in #124, but it didn't work, leading to the current situation.

There's discussion of what is wrong in the comments of #124.

@AlexKnauth has a fix for one of the issues in #142 and then blesses the new test behavior for the other failure, but this uses some hackery around the representation of parameters.

After discussing this with @jackfirth @AlexKnauth @sorawee there are a few suggestions for what to do here.

  1. The easiest solution (I think) is merging Fix some failures discovered in PR #138 discussion #142, provided that it really fixes all the tests.
  2. Another approach is to use continuation marks directly for the info stack (instead of parameters) which avoids the hackery in Fix some failures discovered in PR #138 discussion #142.
  3. Another possibility is to bless the current behavior in all cases.
  4. Finally we could revert all the way back to the pre-Treat exceptions thrown by arguments to check as test failures, without changing function behavior #109 state.

My recommendation is to merge #142 and then take option 2 at a later point.

cc @racket/release

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