Skip to content

W0051 does not work inside a map inside an ?assertMatch #174

@eproxus

Description

@eproxus

Describe the bug

W0051 warnings should trigger in the following code:

?assertMatch(#{key := <<"foo">>}, bar),

To Reproduce**

Lint the code above.

Expected behavior

A W0051 warning.

Actual behavior

No warning.

Context

  • ELP Version (output of elp version): elp 1.1.0+build-2026-02-27
  • Editor used: Zed 0.226.5+stable.197.07dae3b7020b0ad79ed91e18c750a16952432866

Metadata

Metadata

Assignees

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