-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
Description
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 π
davidanthoff