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

fix(cli/module_graph): Set useDefineForClassFields to true #9774

Merged
merged 1 commit into from
Mar 14, 2021

Conversation

nayeemrmn
Copy link
Collaborator

We decided to do this around #7148 (comment), added "useDefineForClassFields" to the set of ignored compiler options in #7228 and documented it as set to true in #9196. Unless there was a regression, I don't think we ever actually set it to true.

Fixes #9773 (the example now produces an intuitive type error).

Copy link
Contributor

@kitsonk kitsonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks for figuring that out and finding the omission.

@kitsonk kitsonk merged commit c470983 into denoland:main Mar 14, 2021
@nayeemrmn nayeemrmn deleted the use-define-for-class-fields branch March 15, 2021 05:47
ry added a commit to ry/deno that referenced this pull request Mar 15, 2021
…enoland#9774)"

Backwards incompatible change cannot be made in-between patch releases.

This reverts commit c470983.
kitsonk added a commit to kitsonk/deno that referenced this pull request Apr 6, 2021
kitsonk added a commit to kitsonk/deno that referenced this pull request Apr 8, 2021
nayeemrmn added a commit to nayeemrmn/deno that referenced this pull request Apr 10, 2021
nayeemrmn added a commit to nayeemrmn/deno that referenced this pull request Apr 10, 2021
nayeemrmn added a commit to nayeemrmn/deno that referenced this pull request Apr 10, 2021
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.

Deno bundle error with constructor property initialisation
2 participants