fix key parsing
This commit is contained in:
1 parent
6c20d74797
commit
02756f6f92
1 file changed
+1
-1
@@ -191,7 +191,7 @@ fn build_node<'a>(
|
|||||||
None,
|
None,
|
||||||
)),
|
)),
|
||||||
Some(lit) => {
|
Some(lit) => {
|
||||||
let ifmt: IfmtInput = parse_str(&lit.value()).map_err(|err| {
|
let ifmt: IfmtInput = lit.value().parse().map_err(|err| {
|
||||||
Error::ParseError(ParseError::new(err, ctx.location.clone()))
|
Error::ParseError(ParseError::new(err, ctx.location.clone()))
|
||||||
})?;
|
})?;
|
||||||
let key = bump.alloc(resolve_ifmt(&ifmt, &ctx.captured)?);
|
let key = bump.alloc(resolve_ifmt(&ifmt, &ctx.captured)?);
|
||||||
|
|||||||
Reference in new issue
Block a user