Ensure cast functions are output correctly as object keys
This commit is contained in:
parent
bea90712a3
commit
525b02ca46
1 changed files with 1 additions and 1 deletions
|
@ -647,7 +647,7 @@ impl Value {
|
|||
Function::Future(_) => "fn::future".to_string().into(),
|
||||
Function::Script(_) => "fn::script".to_string().into(),
|
||||
Function::Normal(f, _) => f.to_string().into(),
|
||||
_ => v.to_string().into(),
|
||||
Function::Cast(_, v) => v.to_idiom(),
|
||||
},
|
||||
_ => self.to_string().into(),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue