rename range -> text_range
This commit is contained in:
@@ -51,7 +51,7 @@ impl CheckReparse {
|
||||
for (a, b) in
|
||||
new_parse.tree().syntax().descendants().zip(full_reparse.tree().syntax().descendants())
|
||||
{
|
||||
if (a.kind(), a.range()) != (b.kind(), b.range()) {
|
||||
if (a.kind(), a.text_range()) != (b.kind(), b.text_range()) {
|
||||
eprint!("original:\n{:#?}", parse.tree().syntax());
|
||||
eprint!("reparsed:\n{:#?}", new_parse.tree().syntax());
|
||||
eprint!("full reparse:\n{:#?}", full_reparse.tree().syntax());
|
||||
|
||||
Reference in New Issue
Block a user