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

Invalid type abbreviation delcaration allowed #6133

Closed
cartermp opened this issue Jan 18, 2019 · 0 comments · Fixed by #7953
Closed

Invalid type abbreviation delcaration allowed #6133

cartermp opened this issue Jan 18, 2019 · 0 comments · Fixed by #7953
Labels
Milestone

Comments

@cartermp
Copy link
Contributor

cartermp commented Jan 18, 2019

type Oops = Span<int> * Span<int>

let f (x: Oops) = ()

let failsAsIntended (x: Span<int> * Span<int>) = ()

failsAsIntended will fail to compile, since you can't tuple a Span. But f and the Oops declaration do compile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant