mirror of
https://github.com/erg-lang/erg.git
synced 2025-07-24 05:26:24 +00:00
fix(els): signature help
This commit is contained in:
parent
1332b009b7
commit
b746cd38bd
8 changed files with 148 additions and 56 deletions
|
@ -314,9 +314,9 @@ impl Ord for Location {
|
|||
} else if self.ln_begin() == self.ln_end() && other.ln_begin() == other.ln_end() {
|
||||
// assert_eq!(self.line_begin, other.line_begin);
|
||||
// assert_eq!(self.line_end, other.line_end);
|
||||
if self.col_end() < other.col_begin() {
|
||||
if self.col_end() <= other.col_begin() {
|
||||
Ordering::Less
|
||||
} else if other.col_end() < self.col_begin() {
|
||||
} else if other.col_end() <= self.col_begin() {
|
||||
Ordering::Greater
|
||||
} else {
|
||||
Ordering::Equal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue