Skip to content

Downstream precompilation warnings due to new exports #144

@devmotion

Description

@devmotion

The new exports of static_first and static_last in #143 cause precompilation warnings in VectorizationBase which already imports StaticArrayInterface.static_first and StaticArrayInterface.static_last:

 ┌ VectorizationBase
│  WARNING: using Static.static_first in module VectorizationBase conflicts with an existing identifier.
│  WARNING: using Static.static_last in module VectorizationBase conflicts with an existing identifier.
└  

Similar problem exists with static_first and static_step in Polyester:

┌ Polyester
│  WARNING: using Static.static_first in module Polyester conflicts with an existing identifier.
│  WARNING: using Static.static_step in module Polyester conflicts with an existing identifier.
└  

Generally, it might be preferable to not use implicit imports in VectorizationBase and Polyester (ie no using Static). However, given that functions of the same name also exist in StaticArraysInterface, I'm also wondering if these additional exports in #143 were intentional in the first place?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions