Ethan
Ethan
Alright, I figured out a temporary change I could do to allow errors to propagate through an await to the top-level. This isn't really correct since try/catch blocks _inside_ dart_eval...
Can you give more info on the error you get? I have tested it and this test passes successfully: ```dart test('Exception bubbles through asynchronous gap', () { final runtime =...
Using an isolate to decode the EVC bytecode file into the list of ops is something I'll probably do eventually, once EVC files are commonly large enough to cause jank...
Looking up functions/properties by index is already done for classes defined _inside_ of dart_eval when the concrete type is known. What you're talking about though, if I'm getting this correctly,...
Oh, I see. So it's not an array lookup but just changing the Map key. That would work but probably very minor performance improvement.
Hi! dart_eval isn't designed for this, so it could only be achieved by recompiling the entire source code the user has written so far each time a new statement is...
No, not possible currently, though it wouldn't be terribly difficult to add. If you're interested in making a PR to add support for this I can give you some guidance.
Sure, no problem. The runtime values of top-level variables in dart_eval are stored in the [Runtime.globals](https://github.com/ethanblake4/dart_eval/blob/f95a589f0162487227c6900bb62cc12b7f1fd520/lib/src/eval/runtime/runtime.dart#L315) array. The compiler keeps track of where each variable is in this array in...
The first part of doing this is covered in https://github.com/ethanblake4/dart_eval/issues/53 and https://github.com/ethanblake4/flutter_eval/issues/3 which I would like to have working in v0.6 (next major release). The second part is basically some...
> For a minimalist solution (which does create false positive though) - Maybe just generate bytecode for each and every code, and check equality? I don't really understand, can you...