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
F15521999: D19787.id47253.diff
Sun, Apr 20, 5:17 PM
F15514097: D19787.id.diff
Fri, Apr 18, 12:28 AM
F15505468: D19787.diff
Tue, Apr 15, 3:14 AM
F15469564: D19787.id47253.diff
Fri, Apr 4, 2:42 PM
F15460779: D19787.id47253.diff
Tue, Apr 1, 2:08 AM
F15452156: D19787.id47288.diff
Sat, Mar 29, 2:13 AM
F15444534: D19787.diff
Thu, Mar 27, 9:56 AM
F15435141: D19787.id.diff
Tue, Mar 25, 7:03 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