<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Create a static final:</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="final sampleLocks = [
  new Lock(&quot;L1&quot;, 5.0, &quot;flo&quot;),
  new Lock(&quot;L2&quot;, 2.5, &quot;flo&quot;),
  new Lock(&quot;L3&quot;, 4.0, &quot;chris&quot;),
  new Lock(&quot;L4&quot;, 1.1, &quot;flo&quot;),
  new Lock(&quot;L5&quot;, 4.2, &quot;chris&quot;),
];"><pre class="notranslate"><span class="pl-k">final</span> sampleLocks <span class="pl-k">=</span> [
  <span class="pl-k">new</span> <span class="pl-c1">Lock</span>(<span class="pl-s">"L1"</span>, <span class="pl-c1">5.0</span>, <span class="pl-s">"flo"</span>),
  <span class="pl-k">new</span> <span class="pl-c1">Lock</span>(<span class="pl-s">"L2"</span>, <span class="pl-c1">2.5</span>, <span class="pl-s">"flo"</span>),
  <span class="pl-k">new</span> <span class="pl-c1">Lock</span>(<span class="pl-s">"L3"</span>, <span class="pl-c1">4.0</span>, <span class="pl-s">"chris"</span>),
  <span class="pl-k">new</span> <span class="pl-c1">Lock</span>(<span class="pl-s">"L4"</span>, <span class="pl-c1">1.1</span>, <span class="pl-s">"flo"</span>),
  <span class="pl-k">new</span> <span class="pl-c1">Lock</span>(<span class="pl-s">"L5"</span>, <span class="pl-c1">4.2</span>, <span class="pl-s">"chris"</span>),
];</pre></div>
<p dir="auto">Modify it (changing the individual numbers).<br>
Do a hot reload.</p>
<p dir="auto">Due to limitations of the VM, the value is not updated in the program, and the hot reload "doesn't work".<br>
There should be a warning somewhere, that a static final has been updated and that the hot-reload will not necessarily take these changes into account.</p>
<p dir="auto">Add infrastructure to check for program elements changed in the last reload and not executed. Use this facility in flutter tools to figure out situations where the user makes changes that will not be reflected after a hot reload and warn users about the need to do a hot restart for the changes to take effect.</p>