Skip to content

Incompatibility with < v12.2 #230

@TysonRayJones

Description

@TysonRayJones

Functions Enclose, Confirm and ConfirmQuiet are not available in Mathematica v < 12.2. These functions are used (~13 times) to propagate errors from internal functions to the user's scope. A hacky workaround for these users is:

Quiet @ Import @ "https://qtechtheory.org/questlink.m";

QuEST`Private`ConfirmQuiet = Identity;
QuEST`Private`Confirm = Identity;
QuEST`Private`Enclose[a_, b_] := 
    If[FreeQ[a, $Failed], a, Throw["Error thrown but message lost"]; $Failed];

We should revert to the old horrible boilerplate to propagate errors; at least we don't lose user support!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions