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

Import StaticArrays.SVector into docs to have type-only printing #72

Merged
merged 1 commit into from
Jul 23, 2022

Commits on Jul 23, 2022

  1. Import StaticArrays.SVector into docs to have type-only printing

    This avoids a doctest failures from mismatched owner modules depending
    on the version of StaticArrays which is loaded. For StaticArrays < v1.5,
    the fully-qualified type is `StaticArrays.SVector`, but starting with
    v1.5 the type definition moved to `StaticArraysCore.SVector`.
    
    By importing explicitly from StaticArrays into the environment, the
    printing system skips the module component and therefore we don't see
    any discrepancy in printing no matter which version of
    Julia + StaticArrays is being used.
    jmert committed Jul 23, 2022
    Configuration menu
    Copy the full SHA
    ec13978 View commit details
    Browse the repository at this point in the history