Skip to content

Unexpected comma in the function declaration #10843

Closed
@roman-simionov

Description

@roman-simionov

Version

2.6.10

Reproduction link

https://github.com/vuejs/vue/blob/dev/dist/vue.esm.browser.js#L3296

Steps to reproduce

See the link https://github.com/vuejs/vue/blob/dev/dist/vue.esm.browser.js#L3296

What is expected?

function createComponentInstanceForVnode (
vnode, // we know it's MountedComponentVNode but flow doesn't
parent // activeInstance in lifecycle state
) {
...
}

What is actually happening?

function createComponentInstanceForVnode (
vnode, // we know it's MountedComponentVNode but flow doesn't
parent, // activeInstance in lifecycle state
) {
...
}


I've got an error when trying to add the vue.esm.browser.js file into a bundle using systemjs-builder

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions