Page MenuHomePhabricator

Make %LO, %LA, %LQ and %LJ more lax in what they accept (warnings instead of exceptions)
ClosedPublic

Authored by epriestley on Nov 7 2018, 11:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 7:28 AM
Unknown Object (File)
Sun, Apr 7, 10:09 PM
Unknown Object (File)
Tue, Mar 19, 3:50 PM
Unknown Object (File)
Mar 10 2024, 3:19 PM
Unknown Object (File)
Feb 16 2024, 9:22 AM
Unknown Object (File)
Feb 10 2024, 10:48 PM
Unknown Object (File)
Feb 3 2024, 7:48 PM
Unknown Object (File)
Jan 1 2024, 6:47 PM
Subscribers
None

Details

Summary

Depends on D19786. Ref T13217. I had imagined making these new conversions strict, but a lot of stuff breaks when we do because they make sense to use in base classes like CursorPagedPolicyAwareQuery, and it's hard to completely fix all the downstream classes in one fell swoop.

Instead, let them warn for now (like %Q) and we can make them stricter in a future change.

Test Plan

In Phabricator, saw warnings instead of immediate fatals when strings are passed to these conversions.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable