Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
add HH_FIXME for error from latest HHVM nightlies
Browse files Browse the repository at this point in the history
I don't see any other way to fix it :(
  • Loading branch information
jjergus committed Apr 23, 2020
1 parent 3bc25f1 commit 02a831d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/ExpectObj.hack
Original file line number Diff line number Diff line change
Expand Up @@ -529,9 +529,19 @@ class ExpectObj<T> extends Assert {
\get_class($e),
$msg,
\implode("\n ", \array_map(
$t ==> {
(mixed $t) ==> {
$t = $t as KeyedContainer<_, _>;
return \sprintf('%s: %s', idx($t, 'file'), idx($t, 'line'));
return \sprintf(
'%s: %s',
idx(
/* HH_FIXME[4110] */ $t,
'file',
),
idx(
/* HH_FIXME[4110] */ $t,
'line',
),
);
},
$e->getTrace(),
)),
Expand Down

0 comments on commit 02a831d

Please sign in to comment.