diff --git a/src/Val.h b/src/Val.h index 83c36b400c..7effbacb1d 100644 --- a/src/Val.h +++ b/src/Val.h @@ -739,6 +739,11 @@ class Frame; class TableVal final : public Val, public notifier::Modifiable { public: explicit TableVal(IntrusivePtr t, IntrusivePtr attrs = nullptr); + [[deprecated("Remove in v4.1. Construct from IntrusivePtrs instead.")]] + explicit TableVal(TableType* t, Attributes* attrs = nullptr) + : TableVal({NewRef{}, t}, {NewRef{}, attrs}) + {} + ~TableVal() override; /**