mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 20:34:44 +00:00
Remove Location::RangePair
This commit is contained in:
parent
c562b72c4b
commit
308ab1c9f7
3 changed files with 8 additions and 129 deletions
|
@ -1862,24 +1862,6 @@ if True:
|
|||
);
|
||||
print!("{}", err);
|
||||
|
||||
let loc = Location::RangePair {
|
||||
ln_first: (1, 2),
|
||||
col_first: (0, 1),
|
||||
ln_second: (4, 4),
|
||||
col_second: (9, 10),
|
||||
};
|
||||
let input = Input::Pipe(
|
||||
"\
|
||||
a: Nat = 1
|
||||
a.ownership_is_moved()
|
||||
|
||||
function(a)
|
||||
"
|
||||
.to_string(),
|
||||
);
|
||||
let err = TyCheckError::checker_bug(input, 0, loc, "file_name", 0);
|
||||
print!("{}", err);
|
||||
|
||||
let loc = Location::Range {
|
||||
ln_begin: 1,
|
||||
col_begin: 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue