Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObjectType Enum duplicates the existing code #1327

Open
SharmaAntriksh opened this issue Jun 20, 2024 · 1 comment
Open

ObjectType Enum duplicates the existing code #1327

SharmaAntriksh opened this issue Jun 20, 2024 · 1 comment
Labels
issue: bug Confirmed as a bug in TE3

Comments

@SharmaAntriksh
Copy link

Description

Intellisense shows 2 ObjectType enums and one of them works while the other one just duplicates the code, I am sure I saw this behaviour with some other enum as well don't remember though.

Tabular Editor 3 Version

3.16.2

Screenshots

Object.Type.Error.mp4

Steps to Reproduce

var manySideCalculatedColumns = 
        Model
        .AllColumns
        .Where(
            c => c.UsedInRelationships.Any(r => r.FromColumn == c)
                && c.ObjectTypeName == "Calculated Column"
        );
manySideCalculatedColumns .Output();

Expected behavior

Pressing tab on enum shouldn't duplicate the code infact duplicated enum shouldn't be show in the intellisense

Crash Report

No response

Windows Version

Windows 10

@SharmaAntriksh SharmaAntriksh added the template: issue Issue report created by user, needs to be triaged label Jun 20, 2024
@otykier
Copy link
Collaborator

otykier commented Jun 20, 2024

Hi @SharmaAntriksh
Thanks for reporting this. We have confirmed this behavior as a bug (it can also happens with other types of autocompletes - not just enums).

@otykier otykier added issue: bug Confirmed as a bug in TE3 and removed template: issue Issue report created by user, needs to be triaged labels Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Confirmed as a bug in TE3
Development

No branches or pull requests

2 participants