-
Notifications
You must be signed in to change notification settings - Fork 47k
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
Minor spelling correction in docs #589
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks! |
petehunt
added a commit
that referenced
this pull request
Nov 25, 2013
Minor spelling correction in docs
This was referenced Nov 27, 2023
josephsavona
added a commit
that referenced
this pull request
May 15, 2024
… control-flow (#589) * [hir] Core data types and lowering for new model * Handle more expressions, including using babel for binding resolution * test setup with pretty printing of ir * Basic codegen and improved pretty printing * avoid else block when if has no fallthrough * emit function declarations with mapped name/params * start of scope analysis * saving state pre-run * add slightly more complex example and flush out lowering/printing (jsx, new, variables) * Various improvements: * Convert logical expressions (|| and &&) to control flow, accounting for lazy evaluation semantics. * Handle expression statements * Improve printing of HIR for unsupported node kinds * Handle more cases of JSX by falling by to OtherStatement to wrap subtrees at coarse granularity. * improve HIR printing, lowering of expression statements * handle object expression printing * improve IR model for values/places along w codegen * more test cases * start of mutability inference * passable but still incorrect mutability inference * improved mutability inference, should cover most cases now * visualization of reference graph * correctly flow mutability backwards (have to actually set the capability) * separate visualization in output * consolidate on frozen/readonly/mutable capabilities * cleanup * conditional reassignment test (not quite working) * hack to output svg files for debugging * handle conditional reassignment * improve capture analysis * treat jsx as (interior) mutable; handle memberexpression lvalues * lots of comments; hook return is frozen * update main comment * inference for switch, which reveals a bug * fix yarn.lock
lubieowoce
added a commit
to vercel/next.js
that referenced
this pull request
May 21, 2024
### React upstream changes - 75871d7de [ssa] Add support for other kinds of Instructions (Sathya Gunasekaran) - bb91cbbf6 [hir][be] Use a Map to store ObjectExpression.properties (Sathya Gunasekaran) - f54d121d7 [hir][be] Use a Map to store JsxExpression.props (Sathya Gunasekaran) - c347e8b6d [ssa][be] Delete dead code (Sathya Gunasekaran) - 152c3e81d [hir][be] Use .kind() to update and find ValueKind (Sathya Gunasekaran) - f4df34542 Improve playground validation, workaround lack of JSX support (Joseph Savona) - a7450572f import runtime from "React.unstable_ForgetRuntime" (Joseph Savona) - 2f34f8501 Enable no-use-before-define validation in playground (Joseph Savona) - 00a58cdab Option to validate output with ESLint (Joseph Savona) - 94f1e6f27 Add runtime dependencies to the dependencies (Jan Kassens) - eeb01b17e [ssa] Remove lambdas for update functions (Sathya Gunasekaran) - b9ce8bdcf [SSA] Fix identifierID hack (Sathya Gunasekaran) - 379251c65 Add SSA-ify pass (Sathya Gunasekaran) - 9524c5848 Replace `import from '.'` with path name (Jan Kassens) - 95fe4ed0e Include `Utils.Component()` in BailOnCapitalizedFunctionCalls (Tianyu Yao) - 704d93600 [easy] rename InferReference{Capability=>Effects} (Joseph Savona) - 471201774 Include `Utils.Component()` in BailOnCapitalizedFunctionCalls (Tianyu Yao) - 46d7f4f8a Synchronize symbol names with React (Lauren Tan) - b03752cbe Use for loop instead of Array.prototype.fill (Lauren Tan) - 90e189ae8 Add react-forget-runtime (Jan Kassens) - 8f42eda43 Provide full path to tsc (Lauren Tan) - 9e8224cc5 Pass `init` to E0007 diagnostic (Lauren Tan) - 33735b90f Add a ts:analyze-trace command (Lauren Tan) - e939cacf9 Don't console.error in dev (Lauren Tan) - 101ee3a44 Allow capitalized function identifiers to be allowlisted (Lauren Tan) - 58100e3d6 Use CompilerError invariant (Lauren Tan) - facebook/react#662 - 0000ab6ca [new-arch] HIR cleanup per discussion (Joseph Savona) - 73059d9a4 [Playground][Nit] Add delete + overtype for autoclosing brackets (mofeiZ) - 144e85626 Cleanup reverse postordering (Joseph Savona) - b01fbfa7f Change function parameters to type Place (Sathya Gunasekaran) - 5149ce0fb [new-arch] Store HIR blocks in reverse postorder (Joseph Savona) - 3d4130140 [new-arch] Scaffolding and fixtures for mutability lifetime inference (Joseph Savona) - facebook/react#651 - beb6e1431 [new-arch] Improve reference-kind analysis (Joseph Savona) - 7f17dd84d Import useMemoCache from unstable name (Jan Kassens) - e575e2292 Add hash of Babel plugin to Jest transform (Jan Kassens) - b605fc1ab [BE] Even more permissive ref annotation comment (Xuan Huang (黄玄)) - a574d1598 [Fix] Control Dep Should Only Add To Defs (Xuan Huang (黄玄)) - 19b08e67a [Bailout] When Inputs Detected In DepGraph Cycle (Xuan Huang (黄玄)) - cbbfba27b [new-arch][easy] Handle declarations (let/const) through codegen (Joseph Savona) - 90ab34650 [new-arch][easy] Codegen for switch statements (Joseph Savona) - f5f914338 [new-architecture] Reassignment-safe frozenness inference (Joseph Savona) - e877f89dd Allow comment annotation to be spaced (Xuan Huang (黄玄)) - 83f3999a2 Support var declaration hoisting (Xuan Huang (黄玄)) - 896ef251b patch makeReadOnly into playground (Mofei Zhang) - 4e0639c2d Add makeReadOnly codegen into the compiler (Mofei Zhang) - 72775fba1 makeReadOnly implementation (Mofei Zhang) - facebook/react#589 - a33c0b897 Initial commit (Xuan Huang (黄玄)) - facebook/react#29026
lubieowoce
added a commit
to vercel/next.js
that referenced
this pull request
May 21, 2024
### React upstream changes - 75871d7de [ssa] Add support for other kinds of Instructions (Sathya Gunasekaran) - bb91cbbf6 [hir][be] Use a Map to store ObjectExpression.properties (Sathya Gunasekaran) - f54d121d7 [hir][be] Use a Map to store JsxExpression.props (Sathya Gunasekaran) - c347e8b6d [ssa][be] Delete dead code (Sathya Gunasekaran) - 152c3e81d [hir][be] Use .kind() to update and find ValueKind (Sathya Gunasekaran) - f4df34542 Improve playground validation, workaround lack of JSX support (Joseph Savona) - a7450572f import runtime from "React.unstable_ForgetRuntime" (Joseph Savona) - 2f34f8501 Enable no-use-before-define validation in playground (Joseph Savona) - 00a58cdab Option to validate output with ESLint (Joseph Savona) - 94f1e6f27 Add runtime dependencies to the dependencies (Jan Kassens) - eeb01b17e [ssa] Remove lambdas for update functions (Sathya Gunasekaran) - b9ce8bdcf [SSA] Fix identifierID hack (Sathya Gunasekaran) - 379251c65 Add SSA-ify pass (Sathya Gunasekaran) - 9524c5848 Replace `import from '.'` with path name (Jan Kassens) - 95fe4ed0e Include `Utils.Component()` in BailOnCapitalizedFunctionCalls (Tianyu Yao) - 704d93600 [easy] rename InferReference{Capability=>Effects} (Joseph Savona) - 471201774 Include `Utils.Component()` in BailOnCapitalizedFunctionCalls (Tianyu Yao) - 46d7f4f8a Synchronize symbol names with React (Lauren Tan) - b03752cbe Use for loop instead of Array.prototype.fill (Lauren Tan) - 90e189ae8 Add react-forget-runtime (Jan Kassens) - 8f42eda43 Provide full path to tsc (Lauren Tan) - 9e8224cc5 Pass `init` to E0007 diagnostic (Lauren Tan) - 33735b90f Add a ts:analyze-trace command (Lauren Tan) - e939cacf9 Don't console.error in dev (Lauren Tan) - 101ee3a44 Allow capitalized function identifiers to be allowlisted (Lauren Tan) - 58100e3d6 Use CompilerError invariant (Lauren Tan) - facebook/react#662 - 0000ab6ca [new-arch] HIR cleanup per discussion (Joseph Savona) - 73059d9a4 [Playground][Nit] Add delete + overtype for autoclosing brackets (mofeiZ) - 144e85626 Cleanup reverse postordering (Joseph Savona) - b01fbfa7f Change function parameters to type Place (Sathya Gunasekaran) - 5149ce0fb [new-arch] Store HIR blocks in reverse postorder (Joseph Savona) - 3d4130140 [new-arch] Scaffolding and fixtures for mutability lifetime inference (Joseph Savona) - facebook/react#651 - beb6e1431 [new-arch] Improve reference-kind analysis (Joseph Savona) - 7f17dd84d Import useMemoCache from unstable name (Jan Kassens) - e575e2292 Add hash of Babel plugin to Jest transform (Jan Kassens) - b605fc1ab [BE] Even more permissive ref annotation comment (Xuan Huang (黄玄)) - a574d1598 [Fix] Control Dep Should Only Add To Defs (Xuan Huang (黄玄)) - 19b08e67a [Bailout] When Inputs Detected In DepGraph Cycle (Xuan Huang (黄玄)) - cbbfba27b [new-arch][easy] Handle declarations (let/const) through codegen (Joseph Savona) - 90ab34650 [new-arch][easy] Codegen for switch statements (Joseph Savona) - f5f914338 [new-architecture] Reassignment-safe frozenness inference (Joseph Savona) - e877f89dd Allow comment annotation to be spaced (Xuan Huang (黄玄)) - 83f3999a2 Support var declaration hoisting (Xuan Huang (黄玄)) - 896ef251b patch makeReadOnly into playground (Mofei Zhang) - 4e0639c2d Add makeReadOnly codegen into the compiler (Mofei Zhang) - 72775fba1 makeReadOnly implementation (Mofei Zhang) - facebook/react#589 - a33c0b897 Initial commit (Xuan Huang (黄玄)) - facebook/react#29026
lubieowoce
added a commit
to vercel/next.js
that referenced
this pull request
May 21, 2024
### React upstream changes - 75871d7de [ssa] Add support for other kinds of Instructions (Sathya Gunasekaran) - bb91cbbf6 [hir][be] Use a Map to store ObjectExpression.properties (Sathya Gunasekaran) - f54d121d7 [hir][be] Use a Map to store JsxExpression.props (Sathya Gunasekaran) - c347e8b6d [ssa][be] Delete dead code (Sathya Gunasekaran) - 152c3e81d [hir][be] Use .kind() to update and find ValueKind (Sathya Gunasekaran) - f4df34542 Improve playground validation, workaround lack of JSX support (Joseph Savona) - a7450572f import runtime from "React.unstable_ForgetRuntime" (Joseph Savona) - 2f34f8501 Enable no-use-before-define validation in playground (Joseph Savona) - 00a58cdab Option to validate output with ESLint (Joseph Savona) - 94f1e6f27 Add runtime dependencies to the dependencies (Jan Kassens) - eeb01b17e [ssa] Remove lambdas for update functions (Sathya Gunasekaran) - b9ce8bdcf [SSA] Fix identifierID hack (Sathya Gunasekaran) - 379251c65 Add SSA-ify pass (Sathya Gunasekaran) - 9524c5848 Replace `import from '.'` with path name (Jan Kassens) - 95fe4ed0e Include `Utils.Component()` in BailOnCapitalizedFunctionCalls (Tianyu Yao) - 704d93600 [easy] rename InferReference{Capability=>Effects} (Joseph Savona) - 471201774 Include `Utils.Component()` in BailOnCapitalizedFunctionCalls (Tianyu Yao) - 46d7f4f8a Synchronize symbol names with React (Lauren Tan) - b03752cbe Use for loop instead of Array.prototype.fill (Lauren Tan) - 90e189ae8 Add react-forget-runtime (Jan Kassens) - 8f42eda43 Provide full path to tsc (Lauren Tan) - 9e8224cc5 Pass `init` to E0007 diagnostic (Lauren Tan) - 33735b90f Add a ts:analyze-trace command (Lauren Tan) - e939cacf9 Don't console.error in dev (Lauren Tan) - 101ee3a44 Allow capitalized function identifiers to be allowlisted (Lauren Tan) - 58100e3d6 Use CompilerError invariant (Lauren Tan) - facebook/react#662 - 0000ab6ca [new-arch] HIR cleanup per discussion (Joseph Savona) - 73059d9a4 [Playground][Nit] Add delete + overtype for autoclosing brackets (mofeiZ) - 144e85626 Cleanup reverse postordering (Joseph Savona) - b01fbfa7f Change function parameters to type Place (Sathya Gunasekaran) - 5149ce0fb [new-arch] Store HIR blocks in reverse postorder (Joseph Savona) - 3d4130140 [new-arch] Scaffolding and fixtures for mutability lifetime inference (Joseph Savona) - facebook/react#651 - beb6e1431 [new-arch] Improve reference-kind analysis (Joseph Savona) - 7f17dd84d Import useMemoCache from unstable name (Jan Kassens) - e575e2292 Add hash of Babel plugin to Jest transform (Jan Kassens) - b605fc1ab [BE] Even more permissive ref annotation comment (Xuan Huang (黄玄)) - a574d1598 [Fix] Control Dep Should Only Add To Defs (Xuan Huang (黄玄)) - 19b08e67a [Bailout] When Inputs Detected In DepGraph Cycle (Xuan Huang (黄玄)) - cbbfba27b [new-arch][easy] Handle declarations (let/const) through codegen (Joseph Savona) - 90ab34650 [new-arch][easy] Codegen for switch statements (Joseph Savona) - f5f914338 [new-architecture] Reassignment-safe frozenness inference (Joseph Savona) - e877f89dd Allow comment annotation to be spaced (Xuan Huang (黄玄)) - 83f3999a2 Support var declaration hoisting (Xuan Huang (黄玄)) - 896ef251b patch makeReadOnly into playground (Mofei Zhang) - 4e0639c2d Add makeReadOnly codegen into the compiler (Mofei Zhang) - 72775fba1 makeReadOnly implementation (Mofei Zhang) - facebook/react#589 - a33c0b897 Initial commit (Xuan Huang (黄玄)) - facebook/react#29026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
First time committing, just signed the CLA.