Skip to content

duplicate-doc-alias with enum #3428

Description

@54679128

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Windows

What is the issue affecting?

Annotations

Expected Behaviour

It should not prompt "duplicate-doc-alias"

Actual Behaviour

An enum was defined using the ---@enum annotation, and then LuaLS warned "duplicate-doc-alias". Changing the enum name had no effect. After moving the file containing the enum definition to a different VS Code workspace, the issue no longer occurred.

Image

Reproduction steps

无法复现,该问题只在一个特定的工作区中出现。

Additional Notes

Unable to reproduce. This issue only occurs in one specific workspace.

Log File

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions