Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it cant invoke class constructor accurately when use external class #9646

Closed
mengdongbao opened this issue Nov 21, 2023 · 2 comments
Closed
Labels
duplicate This issue or pull request already exists

Comments

@mengdongbao
Copy link

Vue version

3.3.4

Link to minimal reproduction

https://play.vuejs.org/#eNqNU01v00AQ/SvDXpJIja2qnEJaBaJKwAEQIHHZi7HHybb7pd1xEhT5vzO7blI3AsTJ63lvZ968pz2Kt94Xuw7FQixjHZQniEidv5NWGe8CwRECttBDG5yBCVMnZ2g9FKUoSmUbPBQUpZBW2trZSGDiBm7T7enkPWrt4IcLunk1mb1JnLazNSlnoZ0qG2dwlBaAT0WsfmX6NPF6aZflIIwlLQmN1xUhnwGW22tY1VrVj7dStFOLe1hPZzMp7o7HPLzvl+X2euAq6zuC3dy4BjXzGWdi6n7uKa7EsNjcVL54iM6yK1mWfAJ4vcUgNNXYi/QvxZbIx0VZ1o3la9xf7UJhkUrrTbliWhk6S8rgvHFmdVPcFK/LRkUalwuMZv4zuH3EUPjgGu4kxdVoVsnIDsM8IHsdMPzv7Itr4/kX0AsNaXyazgn07AxFDrVVmwtfame80hg++5TlS38qDnH/MdcodHjepd5i/fiH+kM8DDt9CZiVjfanKmyQBvj+2yc88PkMcqadfsriL+BXjE53SeNAe9fZhmWPeFnthxyzspvv8f5AaONpqSQ0u5H5OY/1P1Z/lstuj1w8PRM2EA/5DTXYVp0mqHUVIzcIif38BE4VgIpHUXoT+b9Pn170vwEpFkNc

Steps to reproduce

  1. press F12 for develop tool
  2. click <h1> tag to invoke event callback
  3. then dev tool say TypeError: Class constructors cannot be invoked without 'new'

What is expected?

invoke constructor with new

What is actually happening?

it invoke constructor without new

System Info

No response

Any additional comments?

No response

@Alfred-Skyblue
Copy link
Member

Alfred-Skyblue commented Nov 21, 2023

Fix this issue in #6491

playground

@LinusBorg LinusBorg added the duplicate This issue or pull request already exists label Nov 21, 2023
@haoqunjiang
Copy link
Member

Duplicate of #6483 Let's track in that issue instead.

@haoqunjiang haoqunjiang closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants