Skip to content

Commit 06f8b60

Browse files
committed
requiresNonNullableLocalFixups comment
1 parent 58dbd93 commit 06f8b60

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/passes/Unsubtyping.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,7 @@ struct Unsubtyping : Pass {
891891
Rewriter(const TypeTree& types) : types(types) {}
892892

893893
bool isFunctionParallel() override { return true; }
894+
// Only introduces locals that are set immediately before they are used.
894895
bool requiresNonNullableLocalFixups() override { return false; }
895896
std::unique_ptr<Pass> create() override {
896897
return std::make_unique<Rewriter>(types);

0 commit comments

Comments
 (0)