• Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.10.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Iteration Yucca, Iteration Z
    • Not Needed

      To be fair, the old async rewriter could also basically just not handle this because it didn’t allow this in the mapping function, where you’d have to use it in order to get sensible results. This would ideally work by making Function.prototype.toString() return the right result here. If that’s infeasible, it should also work by always defining the helper functions (isSyntheticPromise etc.) instead of re-using ones from existing outer scopes.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: