mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 02:39:20 +00:00
test: add a bad pattern
This commit is contained in:
parent
3e137da0a1
commit
dc1b34bc10
6 changed files with 16 additions and 2 deletions
|
@ -2983,7 +2983,7 @@ impl PyCodeGenerator {
|
|||
let name = if let Some(name) = opt_name {
|
||||
name
|
||||
} else {
|
||||
"<block>".into()
|
||||
self.fresh_gen.fresh_varname()
|
||||
};
|
||||
let firstlineno = block
|
||||
.first()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue