Skip to content

fix some issues with Vararg#20204

Merged
JeffBezanson merged 2 commits intomasterfrom
jb/vararginffix
Jan 26, 2017
Merged

fix some issues with Vararg#20204
JeffBezanson merged 2 commits intomasterfrom
jb/vararginffix

Conversation

@JeffBezanson
Copy link
Copy Markdown
Member

@JeffBezanson JeffBezanson commented Jan 24, 2017

- fix #11480, don't use `Type{_} where _<:Vararg` in inference
- disallow `Vararg` in type var bounds
- disallow `Vararg` as a type parameter in general
- move some checks from lower-level functions to apply_type
@kshyatt kshyatt added the types and dispatch Types, subtyping and method dispatch label Jan 24, 2017
@JeffBezanson
Copy link
Copy Markdown
Member Author

Any thoughts @vtjnash ?

@JeffBezanson JeffBezanson merged commit 64fde38 into master Jan 26, 2017
@tkelman tkelman deleted the jb/vararginffix branch January 26, 2017 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

types and dispatch Types, subtyping and method dispatch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vararg's cannot be matched with function parameters

3 participants