Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/v2/extdeps/languages/dag.dag
Original file line number Diff line number Diff line change
Expand Up @@ -5656,7 +5656,7 @@ fn qualified_name_append_segment(qn: QualifiedName, sym: Symbol) -> QualifiedNam
}
}

fn qualified_name_from_segment_list(segments: List<Symbol>, root: Node) -> Outcome<QualifiedName> {
fn qualified_name_from_symbol_segments(segments: List<Symbol>, root: Node) -> Outcome<QualifiedName> {
let qn = fold_list(
xs: segments,
empty: Empty,
Expand Down Expand Up @@ -5729,7 +5729,7 @@ fn qualified_name_from_parsed_module_root(root: Node) -> Outcome<QualifiedName>
match parse_qualified_name_segments_from_capture(qn_capture: qn_capture, root: root) {
Rejected { diagnostics: diags } => Rejected { diagnostics: diags }
Accepted { value: segments, diagnostics: _ } =>
qualified_name_from_segment_list(segments: segments, root: root)
qualified_name_from_symbol_segments(segments: segments, root: root)
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/v2/lens/reference_deps.dag
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import v2.extdeps.languages.dag {
parse_qualified_name_segments_from_capture,
parse_subtree_find_production_captured,
qualified_name_from_module_node,
qualified_name_from_segment_list
qualified_name_from_symbol_segments
}
import v2.std.algebra {
any,
Expand Down Expand Up @@ -199,7 +199,7 @@ fn reference_qn_from_qualified_name_production_strict(
match parse_qualified_name_segments_from_capture(qn_capture: capture, root: module_root) {
Rejected { diagnostics: d } => Rejected { diagnostics: d }
Accepted { value: segments, diagnostics: _ } =>
qualified_name_from_segment_list(segments: segments, root: module_root)
qualified_name_from_symbol_segments(segments: segments, root: module_root)
}
}
}
Expand All @@ -219,7 +219,7 @@ fn reference_qn_from_import_decl_strict(node: Node, module_root: Node) -> Outcom
match parse_qualified_name_segments_from_capture(qn_capture: qn_capture, root: module_root) {
Rejected { diagnostics: d } => Rejected { diagnostics: d }
Accepted { value: segments, diagnostics: _ } =>
qualified_name_from_segment_list(segments: segments, root: module_root)
qualified_name_from_symbol_segments(segments: segments, root: module_root)
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/v2/std/qualified_name.dag
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ fn qn_fold_step(acc: QnFoldStatus, edge: Edge, child: QnFoldStatus) -> QnFoldSta
}
}

fn qualified_name_from_segment_list(segments: List<String>) -> FreeMonoid<Symbol> {
fn qualified_name_from_string_segments(segments: List<String>) -> FreeMonoid<Symbol> {
fold_list_right(
xs: segments,
empty: Empty,
Expand All @@ -160,7 +160,7 @@ fn qualified_name_from_dotted_string(dotted: String) -> FreeMonoid<Symbol> {
if string_is_empty(s: dotted) {
Empty
} else {
qualified_name_from_segment_list(segments: dotted.split(delimiter: "."))
qualified_name_from_string_segments(segments: dotted.split(delimiter: "."))
}
}

Expand Down
Loading