=== modified file 'lib/Future/AsyncAwait.xs'
--- lib/Future/AsyncAwait.xs 2019-01-04 18:13:42 +0000
+++ lib/Future/AsyncAwait.xs 2019-01-05 19:28:59 +0000
@@ -734,15 +734,18 @@
panic("TODO: handle CXt_EVAL without CXp_TRYBLOCK\n");
if(cx->blk_eval.old_namesv)
panic("TODO: handle cx->blk_eval.old_namesv\n");
- if(cx->blk_eval.old_eval_root)
- panic("TODO: handle cx->blk_eval.old_eval_root\n");
- if(cx->blk_eval.cur_text)
- panic("TODO: handle cx->blk_eval.cur_text\n");
if(cx->blk_eval.cv)
panic("TODO: handle cx->blk_eval.cv\n");
if(cx->blk_eval.cur_top_env != PL_top_env)
panic("TODO: handle cx->blk_eval.cur_top_env\n");
+ /*
+ * It seems we don't need to care about blk_eval.old_eval_root or
+ * blk_eval.cur_text, and if we ignore these then it works fine via
+ * string eval().
+ *
https://rt.cpan.org/Ticket/Display.html?id=126036
+ */
+
frame->type = CXt_EVAL;
frame->gimme = cx->blk_gimme;