Skip to content

A few issuesΒ #202

@EricForgy

Description

@EricForgy

Hi,

Over the last couple of days I noticed a few issues and thought I'd share them here.

Exporting abstract types

I exported an abstract type, but it still shows up with squiggly lines in the module they get exported to.

Callable types

I had a callable typed defined with

(mt::Type{MyType})(x) = dostuff(mt,x)

and mt is showing up with squiggly lines when I use it, e.g. mt(x), the mt has squiggly lines.

Macro defined variables

I have some variables defined by a macro that creates custom types (not instances) like

@construct T

That constructs a variable T referring to a custom parametric type.

When I use T later in my code, it has squiggly lines, e.g. T(x), the T has squiggly lines.

In all cases above, the code actually runs and is valid Julia code, but the linting isn't picking it up for some reason.

I hope this helps πŸ™

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions