Skip to content

False positive syntax error in mockgyver's macros #106

@JonathanArns

Description

@JonathanArns

Describe the bug

Elp reports a syntax error (P1711) in mockgyver's ?WHEN macro that is used to mock function interfaces in unit tests.

Image

To Reproduce**

As shown in above screen shot.

Expected behavior

No syntax error diagnostic.

Actual behavior

False positive syntax error diagnostic.

Context

  • ELP Version (output of elp version): 1.1.0+build-2025-05-29
  • Editor used: NeoVim

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