Skip to content

Replace implicit dynamic with Null in arity checks #675

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

Merged
merged 1 commit into from
Aug 22, 2017

Conversation

natebosch
Copy link
Member

Fixes #674

dynamic is treated as the bottom type for function arguments, but this
will soon change. Null will continue to be the bottom type.

The question we are asking is "Is this a function that takes one
argument", when dynamic is no longer the bottom type the question will
become "Is this a function that takes one dynamic argument", and a
function which take one argument of a specific type does not take a
dynamic argument.

Fixes #674

dynamic is treated as the bottom type for function arguments, but this
will soon change. Null will continue to be the bottom type.

The question we are asking is "Is this a function that takes one
argument", when dynamic is no longer the bottom type the question will
become "Is this a function that takes one dynamic argument", and a
function which take one argument of a specific type does *not* take a
dynamic argument.
@natebosch natebosch merged commit e147e2b into master Aug 22, 2017
@natebosch natebosch deleted the natebosch_arity-check-Null branch August 22, 2017 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants