Skip to content

Conversation

@TobiaszCudnik
Copy link
Contributor

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants