Skip to content

Duplicate declaration 'xxxxxxx' in current scope #91

@jvaldiviezo9

Description

@jvaldiviezo9

Describe the bug
Issue related to the new version 1.7.2
Getting an error "Duplicate declaration 'xxxxxxx' in current scope"

To Reproduce
Not sure how to reproduce, I'm working on a large project, however, this issue didn't happened on the past version 1.5.13

Code (if relevant)
-- Attached screenshot --

Expected behavior
I think the "Duplicate declaration" for an "Attribute VB_Name" item should not be checked for validation.

Screenshots

Image

Additional context
I have a large project with multiple nested folders, at some point the error happened in other module named "main_timer". So I guess, somehow the parsing gets a conflict when trying to load variables. Possible related to the new "Definition Provider". Hope this helps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions