getOwnPropertyDescriptor issues with null #7

merged 1 commit into from Mar 12, 2012


None yet
2 participants

TobiaszCudnik commented Mar 11, 2012

getOwnPropertyDescriptor had some issues with null values, reproducible with following test case:

a :: ({a: Str, b: Str}?) -> Any
a = (b) ->
    console.log b
a null

There is more issues with this function, but i can't extract the code to reproduce.

@disnet disnet merged commit 1e5b001 into disnet:master Mar 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment