Fix pyre messages due to property access
Fix pyre messages due to property access

Summary:
The typechecker prefers assigning to a local variable since none-refinement of a property isn't always correct as the value can be defined arbitrarily at runtime or is mutable.

By assigning to a local variable, pyre can understand the ternary refinement.

Reviewed By: zeyadsalloum

Differential Revision: D19496265

fbshipit-source-id: 650dc52a35d932018fe2e7ae444820343a2abc94

facebook/FBSimulatorControl,facebook/FBSimulatorControl,facebook/FBSimulatorControl,facebook/FBSimulatorControl,facebook/FBSimulatorControl