Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: move test-vm-function-redefinition to parallel
With the upstream fix in V8, function declarations now work fine in the vm module and the test is no longer failing. Refs: https://codereview.chromium.org/2334733002 Fixes: #548 PR-URL: #9618 Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
- Loading branch information
c2c6ae5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fhinkel fyi, this test fails in debug mode:
c2c6ae5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yikes, OK. Will look into it.
c2c6ae5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in https://codereview.chromium.org/2675993002/. Should we cherry-pick?
c2c6ae5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fhinkel For now the tests will fail in Debug mode anyway due to #7144, so I don’t think it’s very important?
c2c6ae5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without the fix, we're using a variable without initializing it first. But it's an integer that's cast to an enum. So maybe not really dangerous?