Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Adding TODO # (#2429)
Browse files Browse the repository at this point in the history
Summary:
Release notes: None
Pull Request resolved: #2429

Differential Revision: D9352869

Pulled By: NTillmann

fbshipit-source-id: 50da5a16aed04dcd376974d433290159f9e698c8
  • Loading branch information
NTillmann authored and facebook-github-bot committed Aug 16, 2018
1 parent 6a938ef commit c18bd7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serializer/Referentializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class Referentializer {
_getReferentializationScope(residualBinding: ResidualFunctionBinding): ReferentializationScope {
if (residualBinding.potentialReferentializationScopes.has("GLOBAL")) return "GLOBAL";
if (residualBinding.potentialReferentializationScopes.size > 1) {
// TODO Revisit for nested optimized functions.
// TODO #2428: Revisit for nested optimized functions.
return "GLOBAL";
}
for (let scope of residualBinding.potentialReferentializationScopes) return scope;
Expand Down

0 comments on commit c18bd7e

Please sign in to comment.