<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/130744>130744</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
lldb expression inline note prints "note: " twice
</td>
</tr>
<tr>
<th>Labels</th>
<td>
lldb
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
DavidSpickett
</td>
</tr>
</table>
<pre>
With this program:
```
int main()
{
const int a = 0;
return 0;
}
```
And this expression:
```
(lldb) p a=10
˄
╰─ error: cannot assign to variable 'a' with const-qualified type 'const int &'
note: note: variable 'a' declared const here
```
LLDB prints "note: " then "note: " again.
Also, "here" seems like it would be accompanied by some location but is not.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0ksFvozoQxv-a4TJqZI9JgAMH0rycenuHdzYwDX41NmubdPvfr0wSdbfVIiRb49Fv_H3-dIzm4phb2B9hfyr0miYf2pO-mvHfxQxvnFLR-_Gj_c-kCdNkIi7BX4KeQXUgOjiI-y864xLO2jigGqjJh9URRIeIOHgXE-YGjaBOKEA9jgKnNbhHBarTF2rnxttc_rkEjtF49300UG3t2AM1uKAGdZLijr998HyEuvyz9A9Bs4ej2DYl1AI5BB9AdTho53zCmzuYPF51MLq3jECVBqrwPduxqXr6sWprXg2PmD6WreNTLdABqALROZ84kx_rN-DIg9WBx7tVEwf-ovHl5XTEJRiXIgLRgwREmCZ2X2v6oo3bZYboOhs90HOub2AijMxzRGveGE3Cd7_aEXtGPQx-XrTLcvoPjH5mtH7QyXiH_ZrQxKxhV4ytGhvV6IJbWZXyUNcHksXUNqoneWj2SjSvr_1YVgchpWz2g2RqSlkXpiVBe6GklIJUKXdMSvW6qlUly1HUI5SCZ23sztrrvPPhUpgYV26lElVZFlb3bOMWWKLbo1OObmhz_1O_XiKUwpqY4ichmWS5zd2_xQiNs8bx9iZ_M_bdDFyswbZTSkvMwaMz0Pli0rT2u8HPQOc85b48LcH_z0MCOm-XjkDn-72vLf0KAAD__8uYBeU">