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
F19095668: D19787.id.diff
Thu, Dec 4, 5:49 AM
F19092860: D19787.diff
Wed, Dec 3, 6:53 PM
F19082852: D19787.id47288.diff
Tue, Dec 2, 12:26 PM
F18984955: D19787.id47253.diff
Nov 17 2025, 12:49 PM
F18923117: D19787.id47253.diff
Nov 9 2025, 4:16 PM
F18805424: D19787.id47288.diff
Oct 18 2025, 3:12 PM
F18769092: D19787.id.diff
Oct 8 2025, 6:28 AM
F18745355: D19787.id47253.diff
Oct 3 2025, 6:21 AM
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