Skip to content

Flowjs is broken - identifier Promise$All. Could not resolve name #2548

Closed

Description

@cristian-sima

Same code as yesterday.

On Windows 10 Pro,

Flow 0.33.0

image

Activity

  1. vkurchatkin commented on Sep 30, 2016

    @vkurchatkin
    Contributor

    This is a problem with fbjs, although declaring Promise$all for backwards compatibility may be a good idea

  2. samwgoldman commented on Sep 30, 2016

    @samwgoldman
    Member

    Oops! We removed Promise$All because we added a more general feature. You should be able to add this declaration to a library definition for backwards compatibility:

    type Promise$All = <Elem, T: Iterable<Elem>>(promises: T) => Promise<$TupleMap<T, typeof $await>>;
    

    Sorry about the confusion here. I wasn't aware that fbjs was relying on this type.

  3. cristian-sima commented on Sep 30, 2016

    @cristian-sima
    Author

    @samwgoldman Any hope that the bug will be fixed in a release today ?

  4. JeroenNelen commented on Oct 16, 2016

    @JeroenNelen

    Is this on a roadmap of any kind?

  5. cristian-sima commented on Oct 17, 2016

    @cristian-sima
    Author

    @samwgoldman Any tip?

  6. samwgoldman commented on Oct 17, 2016

    @samwgoldman
    Member

    Have you tried the workaround I shared above?

  7. iamdustan commented on Oct 18, 2016

    @iamdustan
    Contributor

    fbjs has fixed its usage in 0.8.5 if you can force your version to update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions