From 0da459fc3a86dc9ca5592dda75cea37ec73272b6 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 24 Nov 2015 02:30:07 -0800 Subject: [PATCH] Block lambda functions should output |parameters|. --- Output.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Output.cpp b/Output.cpp index d3dbb0f..d45a739 100644 --- a/Output.cpp +++ b/Output.cpp @@ -684,8 +684,7 @@ void CYRubyBlock::Output(CYOutput &out, CYFlags flags) const { } void CYRubyProc::Output(CYOutput &out, CYFlags flags) const { - // XXX: this is not outputting the parameters - out << '{' << '\n'; + out << '{' << ' ' << '|' << parameters_ << '|' << '\n'; ++out.indent_; out << code_; --out.indent_; -- 2.49.0