call_with_explicit_closure support closure in block (#4031)

* call_with_explicit_closure support closure in block

* fix test
This commit is contained in:
Clouds authored and GitHub committed 2025-05-07 13:30:46 -07:00
1 parent 7392d7882b
commit 28a85ab614
2 files changed
+92 -17

No files matched your search

+11
View File
@@ -110,6 +110,17 @@ fn complex_kitchen_sink() {
}
}
// No nesting
Component {
adsasd: "asd",
onclick: {
let a = 1;
move |_| {
let blah = 120;
}
}
}
// Component path
my::thing::Component {
adsasd: "asd",