Skip to content

Macros that define variables (often used in Symbolics.jl and ModelingToolkit.jl and derivatives) confuse the parser. #85

Description

@Qfl3x

(cut from LanguageServer as it seems that this is where this belongs)

In this code:

using ModelingToolkit

@parameters param1,param2

param1 and param2 are undefined. In fact, at that line it returns a "Missing Reference".

I thought there could be a few options, first a better "macro walk" where macros should be evaluated by source, or a hard definition (mark @parameters...etc as "definers").

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions