mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
fix scramerr... FOUR!!
This commit is contained in:
parent
7da0381a9a
commit
ebfadf2f37
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ where
|
|||
if self.config.capture_errors {
|
||||
if let Some(h) = &it.handler {
|
||||
if let Some(name) = &h.param {
|
||||
if let Some(ident) = name.pattern.get_identifier() {
|
||||
if let Some(ident) = name.pattern.get_identifier_name() {
|
||||
self.jschanges.add(Rewrite::ScramErr {
|
||||
span: Span::new(h.body.span.start + 1, h.body.span.start + 1),
|
||||
ident: ident.to_compact_str(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue