Skip to content

Feature request: Improved error async arrow functions are unsupported #1395

@leotm

Description

@leotm

Problem

async arrow functions (ignored by Babel) trigger Hermes error

AF->getSourceRange(), Twine("async functions are unsupported"));

causing ./gradlew :app:installRelease to fail
after Metro finishes bundling

Solution

it would be great if Hermes would output instead

async arrow functions are unsupported

Additional Context

nb: i think Static Hermes will be supporting arrow functions too

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions