Skip to content

Commit 97e3709

Browse files
Remove canary
1 parent 5e6f8a5 commit 97e3709

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rendering/ElementWithOpenAndCloseTagsAndUnescapedContent.hack

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
namespace HTL\SGMLStream;
33

44
use namespace HH\Lib\{C, Str};
5-
use namespace HTL\SGMLStreamInterfaces;
5+
use namespace HTL\{HH4Shim, SGMLStreamInterfaces};
66

77
trait ElementWithOpenAndCloseTagsAndUnescapedContent {
88
require extends RootElement;
@@ -41,7 +41,7 @@ trait ElementWithOpenAndCloseTagsAndUnescapedContent {
4141
);
4242

4343
if ($child_count === 1) {
44-
$child = $children[0];
44+
$child = HH4Shim\to_mixed($children[0]);
4545
invariant(
4646
$child is string,
4747
'%s may only have one child and its type must be string',

0 commit comments

Comments
 (0)