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

add tests for _Utils_eqHelp #1062

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jerith666
Copy link
Contributor

@jerith666 jerith666 commented Nov 10, 2019

do non-recursive tests before the depth check. this ensures that the
'for(key in x)' loop properly short-circuits, and avoids putting
Tuple2s containing 'undefined' on the stack.

fixes #1011; see that issue and #1031 for further discussion

listTests by @Skinney

do non-recursive tests before the depth check.  this ensures that the
'for(key in x)' loop properly short-circuits, and avoids putting
Tuple2s containing 'undefined' on the stack.

fixes elm#1011; see that issue and elm#1031 for further discussion

listTests by @Skinney
…st-equality-combined

Conflicts:
	src/Elm/Kernel/Utils.js
          -- keep comment from HEAD^1
	tests/tests/Test/Equality.elm
          -- keep additional tests from HEAD^1
@jerith666
Copy link
Contributor Author

Now that #1031 has been merged, all that's left here are the additional tests. I've resolved the conflict in case you want to include them.

@evancz evancz changed the title avoid attempts to access properties of undefined in _Utils_eqHelp Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant