diff --git a/src/ExpectObj.hack b/src/ExpectObj.hack index d53118a..10df8cd 100644 --- a/src/ExpectObj.hack +++ b/src/ExpectObj.hack @@ -14,7 +14,8 @@ use namespace HH\Lib\{C, Str, Vec}; use type HH\Lib\Ref; use type Facebook\HackTest\ExpectationFailedException; -final class ExpectObj extends Assert { +/* HHAST_IGNORE_ERROR[FinalOrAbstractClass] Intentional non-final for backward compatibility */ +class ExpectObj extends Assert { public function __construct(private T $var) {} /**************************************