mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 03:45:29 +03:00
Improve expected error message
This commit is contained in:
parent
33756cbd3a
commit
01346ed84f
@ -129,7 +129,7 @@ impl<'a> PyParser<'a> {
|
||||
} else if self.try_consume(":") {
|
||||
self.parse_map_init(head)?
|
||||
} else {
|
||||
self.expected("Comma or Colon")?
|
||||
self.expected("',' or ':'")?
|
||||
}
|
||||
}
|
||||
// List or Comprehension
|
||||
|
Loading…
Reference in New Issue
Block a user