@jbearak/sight 0.14.5 → 0.14.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/sight-server.js
CHANGED
|
@@ -52,7 +52,7 @@ var package_default;
|
|
|
52
52
|
var init_package = __esm(() => {
|
|
53
53
|
package_default = {
|
|
54
54
|
name: "@jbearak/sight",
|
|
55
|
-
version: "0.14.
|
|
55
|
+
version: "0.14.6",
|
|
56
56
|
type: "module",
|
|
57
57
|
workspaces: [
|
|
58
58
|
"client"
|
|
@@ -29712,6 +29712,7 @@ class DiagnosticsProvider {
|
|
|
29712
29712
|
const backward_dep_mode = config.cross_file?.backward_dependencies ?? "auto";
|
|
29713
29713
|
const scan_complete_for_deferral = resolved_scope?.scan_complete_at_resolve_time ?? false;
|
|
29714
29714
|
const defer_undefined_diagnostics = backward_dep_mode === "auto" && this.dependency_graph && !scan_complete_for_deferral && resolved_scope && !resolved_scope.has_directives && !resolved_scope.has_auto_parents && !resolved_scope.is_standalone;
|
|
29715
|
+
const inherited_entry_locals = collect_inherited_dofile_locals(resolved_scope, 0, document.uri);
|
|
29715
29716
|
for (const my_diagnostic of this.extract_semantic_diagnostics(document)) {
|
|
29716
29717
|
if (this.is_in_embedded_context(my_diagnostic.range.start, the_context_ranges)) {
|
|
29717
29718
|
continue;
|
|
@@ -29723,6 +29724,9 @@ class DiagnosticsProvider {
|
|
|
29723
29724
|
const symbol_name = is_undefined_symbol ? this.extract_symbol_name_from_diagnostic(my_diagnostic) : null;
|
|
29724
29725
|
const reference_kind = is_undefined_symbol ? this.classify_reference_kind(my_diagnostic) : null;
|
|
29725
29726
|
if (resolved_scope && symbol_name) {
|
|
29727
|
+
if (reference_kind === "local" && inherited_entry_locals.has(symbol_name)) {
|
|
29728
|
+
continue;
|
|
29729
|
+
}
|
|
29726
29730
|
if (this.is_symbol_defined_in_scope(symbol_name, resolved_scope.symbols, my_diagnostic.code, document.uri, reference_kind)) {
|
|
29727
29731
|
continue;
|
|
29728
29732
|
}
|
|
@@ -30437,6 +30441,7 @@ var init_diagnostics = __esm(() => {
|
|
|
30437
30441
|
init_types2();
|
|
30438
30442
|
init_types();
|
|
30439
30443
|
init_scoped_locals();
|
|
30444
|
+
init_dofile_locals();
|
|
30440
30445
|
init_scope_resolver();
|
|
30441
30446
|
init_diagnostic_code_description();
|
|
30442
30447
|
init_file_path_utils();
|
|
@@ -73864,4 +73869,4 @@ export {
|
|
|
73864
73869
|
is_cli_entry_point
|
|
73865
73870
|
};
|
|
73866
73871
|
|
|
73867
|
-
//# debugId=
|
|
73872
|
+
//# debugId=A1706D274D80E2DC64756E2164756E21
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
5ab8b6710a4d498800da5fe29805c5b2d21cff3af3174ce414043fe334a31549 sight-server.js
|