Skip to content

Commit

Permalink
Revert D14525755: [trivial] flip ints overflow to ints default
Browse files Browse the repository at this point in the history
Differential Revision:
D14525755

Original commit changeset: 12fc10f4c3df

fbshipit-source-id: 02263d6970a64ef9f5dc344a212a2077353a583a
  • Loading branch information
paulbiss authored and hhvm-bot committed Mar 20, 2019
1 parent e1aa6aa commit 230e550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hphp/runtime/base/runtime-option.cpp
Expand Up @@ -493,7 +493,7 @@ bool RuntimeOption::EnableZendIniCompat = true;
bool RuntimeOption::TimeoutsUseWallTime = true;
bool RuntimeOption::CheckFlushOnUserClose = true;
bool RuntimeOption::EvalAuthoritativeMode = false;
bool RuntimeOption::IntsOverflowToInts = true;
bool RuntimeOption::IntsOverflowToInts = false;
bool RuntimeOption::EnableReifiedGenerics = false;
bool RuntimeOption::CheckParamTypeInvariance = true;
bool RuntimeOption::DumpPreciseProfData = true;
Expand Down Expand Up @@ -1888,7 +1888,7 @@ void RuntimeOption::Load(
{
// Hack Language
Config::Bind(IntsOverflowToInts, ini, config,
"Hack.Lang.IntsOverflowToInts", true);
"Hack.Lang.IntsOverflowToInts", EnableHipHopSyntax);
auto const def = RuntimeOption::EnableHipHopSyntax ?
HackStrictOption::ON : HackStrictOption::OFF;

Expand Down

0 comments on commit 230e550

Please sign in to comment.