From f56140fe01678c4ca0c9803298e55bbcfde5f1db Mon Sep 17 00:00:00 2001 From: Lexidor Digital <31805625+lexidor@users.noreply.github.com> Date: Tue, 21 Jan 2020 22:38:27 +0100 Subject: [PATCH] Backport Ref to 4.0 (#114) * Backport Ref to 4.0 * Find the best hhvm that still passes travis * Remove failing hhvm versions Only hhvm 4.0 passes, since the others assume that `>` + * over `Vector`. + * + * `C\reduce()` and `C\reduce_with_key()` can also be used in some situations + * to avoid this class. + */ +final class Ref { + <<__RxShallow>> + public function __construct(public T $value) {} +}