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

[SR-12978] Swift Quick Help showing wrong type (Tuple Pattern) #55424

Open
swift-ci opened this issue Jun 11, 2020 · 0 comments
Open

[SR-12978] Swift Quick Help showing wrong type (Tuple Pattern) #55424

swift-ci opened this issue Jun 11, 2020 · 0 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-12978
Radar None
Original Reporter 0-1 (JIRA User)
Type Bug

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

md5: 3978308a0cc061129d453e80fb04d100

Issue Description:

The Swift Quick Help is showing the wrong type.

___

var (foo, _, _) : (Int, Int, Int) = (0,0,0)

print(foo)

print(type(of: foo))

___

Swift Quick Help thinks foo is of type (Int, Int, Int).

But calling foo, it knows it's an Int. It's tricked because I explicitly defined the type

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

1 participant