()
| 381 | |
| 382 | #[test] |
| 383 | fn test_compile_lambda2() { |
| 384 | let code = r#" |
| 385 | (lambda x: f'hello, {x}')('world}') |
| 386 | "#; |
| 387 | let compiled = compile(code, Mode::Exec, "<>", CompileOpts::default()); |
| 388 | dbg!(compiled.expect("compile error")); |
| 389 | } |
| 390 | |
| 391 | #[test] |
| 392 | fn test_compile_lambda3() { |