Skip to content

Commit

Permalink
add missing range to cyclic imports error
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed May 19, 2023
1 parent 3dc7391 commit 895929a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/analysis/programs.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ func (programs Programs) check(
if seenImports[importedLocation] {
return nil, &sema.CyclicImportsError{
Location: importedLocation,
Range: importRange,
}
}
seenImports[importedLocation] = true
Expand Down

0 comments on commit 895929a

Please sign in to comment.