From 6f3c7e9a1571173bb3b9af34611001263865b460 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Sat, 27 Mar 2021 12:08:12 +0000 Subject: [PATCH] fix: member functions have no names --- --- a/crates/jrsonnet-evaluator/src/evaluate.rs +++ b/crates/jrsonnet-evaluator/src/evaluate.rs @@ -278,9 +278,10 @@ visibility: *visibility, invoke: LazyBinding::Bindable(Rc::new( closure!(clone name, clone value, clone context_creator, |this, super_obj| { - Ok(LazyVal::new_resolved(evaluate( + Ok(LazyVal::new_resolved(evaluate_named( context_creator.create(this, super_obj)?, &value, + name.clone(), )?)) }), )), -- gitstuff