Skip to content

class 语法解析有问题 #107

@Tinysymphony

Description

@Tinysymphony

如果出现:

class A extends B {} 
const a = new A();
a instanceof A  // cube 打包后为 false,和原生结果 true 不一致

cube 打包后 A 实例的 constructor 依旧指向 B

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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