mirror of
https://github.com/typst/typst
synced 2025-05-17 02:25:27 +08:00
parent
8d4f9304c0
commit
e32c6f8e8a
@ -1399,7 +1399,7 @@ impl ast::Pattern {
|
||||
vm.define(ident, value);
|
||||
Ok(Value::None)
|
||||
}
|
||||
_ => unreachable!(),
|
||||
_ => bail!(expr.span(), "nested patterns are currently not supported"),
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user