mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 21:17:49 +02:00
Fix strange error on unbalanced curly braces (#8906)
# Description Fixes issue https://github.com/nushell/nushell/issues/8400 # User-Facing Changes Before  After 
This commit is contained in:
committed by
GitHub
parent
4ecec59224
commit
6eb00f6c60
@ -191,7 +191,7 @@ pub fn lex_item(
|
||||
Some(ParseError::Unbalanced(
|
||||
"{".to_string(),
|
||||
"}".to_string(),
|
||||
Span::new(span.end, span.end),
|
||||
Span::new(span.end, span.end + 1),
|
||||
)),
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user