Fixed possible KeyNotFoundException

This commit is contained in:
2025-12-13 01:35:21 -07:00
parent 1755fc3504
commit 415e69628d
6 changed files with 14 additions and 4 deletions

View File

@@ -56,6 +56,11 @@ public static class GlobalCode
return false;
}
if (!sourceMaps[reference].ContainsKey(icErrorLine))
{
return false;
}
var foundRange = sourceMaps[reference][icErrorLine];
if (foundRange is null)