Skip to content

Interpolate StructUtils into expressions #20

@jakobjpeters

Description

@jakobjpeters

This will prevent errors like so:

julia> using StructUtils: @kwarg

julia> @kwarg struct X end
ERROR: UndefVarError: `StructUtils` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Hint: StructUtils is loaded but not imported in the active module Main.
Stacktrace:
 [1] top-level scope
   @ REPL[4]:1

julia> using StructUtils: StructUtils

julia> @kwarg struct X end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions