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,
 });