call_with_explicit_closure support closure in block (#4031)
* call_with_explicit_closure support closure in block * fix test
This commit is contained in:
1 parent
7392d7882b
commit
28a85ab614
2 files changed
+92
-17
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user