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

Arguments object is altered when contract put on a function #9

Merged
merged 1 commit into from Mar 12, 2012

Conversation

@TobiaszCudnik
Copy link
Contributor

commented Mar 11, 2012

Arguments object is altered when contract put on a function, particularly the arguments.length is changes.

Test case:

a :: (Any) -> Any
a = (b) ->
    console.log arguments.length
    console.log arguments
a 'b', 'c', 'd'

@disnet disnet merged commit a99109d into disnet:master Mar 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.