Skip to content

Conversation

@suwc
Copy link

@suwc suwc commented Jan 6, 2017

A class that extends null should have 'this' binding in its constructor same way as a base class. Add new function attribute 'BaseConstructorKind' to capture 'extends null' cases during class definition evaluation. Add new opcode for branching on 'extends null' scenario for 'this' binding.

Fixes #829

@suwc
Copy link
Author

suwc commented Jan 6, 2017

This is addressing
#829

@suwc
Copy link
Author

suwc commented Jan 6, 2017

@boingoing @Microsoft/chakra-es @Microsoft/chakra-developers could you take a look please?

@tcare
Copy link
Contributor

tcare commented Jan 6, 2017

Looks good, just make sure the Regex failures are OK

@suwc
Copy link
Author

suwc commented Jan 6, 2017

@dotnet-bot test Windows ci_slow_x64_debug Windows 7 ci_dev12_x64_debug please

@suwc
Copy link
Author

suwc commented Jan 6, 2017

@dotnet-bot test Windows 7 ci_dev12_x64_debug please

@suwc
Copy link
Author

suwc commented Jan 6, 2017

@dotnet-bot
test Windows 7 ci_dev12_x64_debug please

@dilijev
Copy link
Contributor

dilijev commented Jan 6, 2017

@mmitche Do you know why the checks I added in a separate branch (release/1.4-ci) (see #2326) have been created for this branch? I was hoping to stage that change but not have it applied to all branches yet.
/cc @rajatd

I'll double check that I don't have a bug in my script.

@suwc Note: those failures are due to #2316 , revealed by the change I added to release/1.4-ci (was testing that in #2326)

@suwc
Copy link
Author

suwc commented Jan 6, 2017

@dilijev thanks. Good to know.

@dilijev
Copy link
Contributor

dilijev commented Jan 6, 2017

You can now resolve the CI issues as described here: #2332 (comment)

A class that extends null should have 'this' binding in its
constructor same as a base class. Add new function attribute
'BaseConstructorKind' to capture 'extends null' cases during
class definition evaluation. Add new opcode for branching on
'extends null' scenario for 'this' binding.
@suwc suwc force-pushed the build/suwc/buddy branch from 391c10c to 6a94785 Compare January 6, 2017 22:49
@chakrabot chakrabot merged commit 6a94785 into chakra-core:release/1.4 Jan 6, 2017
chakrabot pushed a commit that referenced this pull request Jan 6, 2017
Merge pull request #2327 from suwc:build/suwc/buddy

A class that extends null should have 'this' binding in its constructor same way as a base class. Add new function attribute 'BaseConstructorKind' to capture 'extends null' cases during class definition evaluation. Add new opcode for branching on 'extends null' scenario for 'this' binding.

Fixes #829
@suwc
Copy link
Author

suwc commented Jan 6, 2017

Merged.
@tcare @dilijev thanks!

chakrabot pushed a commit that referenced this pull request Jan 6, 2017
… bind this

Merge pull request #2327 from suwc:build/suwc/buddy

A class that extends null should have 'this' binding in its constructor same way as a base class. Add new function attribute 'BaseConstructorKind' to capture 'extends null' cases during class definition evaluation. Add new opcode for branching on 'extends null' scenario for 'this' binding.

Fixes #829
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.

5 participants