Skip to content

class 语法解析有问题 #107

Description

@Tinysymphony

如果出现:

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

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

Activity

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