We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5890d87 commit 6b4539fCopy full SHA for 6b4539f
website/public/contribute/create-diagnostic/index.ejs.html
@@ -519,7 +519,7 @@ <h2>3. Detection and reporting of the diagnostic</h2>
519
520
<figure>
521
<pre><code class="cxx">Source_Code_Span op_span = /* usually this->peek().span */;
522
-this->diag_reporter_->report(Diag_Comparison_With_Empty_String{
+this->diags_.add(Diag_Comparison_With_Empty_String{
523
.comparison_operator = op_span,
524
});</code></pre>
525
</figure>
0 commit comments