Ethan
Ethan
A full and complete implementation would be complicated, but a very simple implementation is probably fairly easy. Basically, you could just think of a switch case like: ```dart switch(x) {...
1. To generate code that checks if a variable L is equal to variable R (like does the variable match the expression of the switch case) you can do `L.invoke(ctx,...
You can use a $Function (or maybe actually a $Closure, I don't remember)
It's hard to say exactly without looking at your code. In general it's always going to be easiest to "just evaluate it" if that's possible, i.e. if you can just...
Issue with setting top-level variables fixed in v0.7.3. As far as the issue with `await`, I need more information. Async/await does work in dart_eval and there are [a bunch of...
I think this is primarily caused because error handling isn't really implemented yet in combination with `async/await`, so I'll rename this issue to reflect that. In the meantime you might...
Well it appears that the loadMediaDetails() eval code implementation contains an `await` in it or calls a function that uses `await`.
Yeah. Because loadMediaDetails has an await somewhere in it, that currently breaks its ability to throw exceptions across the bridge.
The first function trySync should already work, no? But yeah once I get around to fixing this you'd probably be able to use tryAsync too either as a bridge or...
This is a complicated issue to solve with a lot of edge cases, it's not going to be done that soon unfortunately.