We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1e1046 commit 67c4bd0Copy full SHA for 67c4bd0
compiler/codegen/src/compile.rs
@@ -2118,15 +2118,16 @@ impl Compiler {
2118
Name { id, .. } => self.load_name(id)?,
2119
Lambda { args, body } => {
2120
let prev_ctx = self.ctx;
2121
+
2122
+ let name = "<lambda>".to_owned();
2123
+ let mut funcflags = self.enter_function(&name, args)?;
2124
2125
self.ctx = CompileContext {
2126
loop_data: Option::None,
2127
in_class: prev_ctx.in_class,
2128
func: FunctionContext::Function,
2129
};
2130
- let name = "<lambda>".to_owned();
- let mut funcflags = self.enter_function(&name, args)?;
-
2131
self.current_codeinfo()
2132
.constants
2133
.insert_full(ConstantData::None);
0 commit comments