From 6b4539f3960c616f9ccd38a2b4778525b2b8a844 Mon Sep 17 00:00:00 2001 From: "Matthew \"strager\" Glazar" Date: Wed, 21 Aug 2024 02:30:23 -0400 Subject: [PATCH] fix(website): fix outdated code in contributor docs --- website/public/contribute/create-diagnostic/index.ejs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/public/contribute/create-diagnostic/index.ejs.html b/website/public/contribute/create-diagnostic/index.ejs.html index f8fc331444..1941e2ac6a 100644 --- a/website/public/contribute/create-diagnostic/index.ejs.html +++ b/website/public/contribute/create-diagnostic/index.ejs.html @@ -519,7 +519,7 @@

3. Detection and reporting of the diagnostic

Source_Code_Span op_span = /* usually this->peek().span */;
-this->diag_reporter_->report(Diag_Comparison_With_Empty_String{
+this->diags_.add(Diag_Comparison_With_Empty_String{
     .comparison_operator = op_span,
 });