Async rewriter is confused by comments

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.10.0
    • Affects Version/s: 0.9.0
    • Component/s: AsyncRewriter
    • None
    • Iteration Yucca
    • Not Needed

      Enterprise replset [direct: primary]> print()
      
      
      Enterprise replset [direct: primary]> print() // X
      Uncaught:
      SyntaxError: await is only valid in async function
      

      …what?

            Assignee:
            Anna Henningsen
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: