Skip to content

Spellchecker in the initializer matches the declaration #5444

Open
@dlangBugzillaToGithub

Description

@dlangBugzillaToGithub

basile-z reported this on 2024-02-28T10:08:24Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=24420

Description

## test case

```d
const almostSimilar = AlmostSimilar; 
```

## output

> temp_7FACC26EA3F0.d(1,23): Error: undefined identifier `AlmostSimilar`, did you mean variable `almostSimilar`?

## Notes

The suggestion is wrong. Applying it results in a circular reference error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions