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

Unexpected reporting on Object.prototype.hasOwnProperty #133

Open
JounQin opened this issue Jan 6, 2024 · 3 comments
Open

Unexpected reporting on Object.prototype.hasOwnProperty #133

JounQin opened this issue Jan 6, 2024 · 3 comments
Labels
invalid This doesn't seem right

Comments

@JounQin
Copy link
Contributor

JounQin commented Jan 6, 2024

Version(if relevant): 2.27.1

Environment(if relevant):

Code(if relevant):

Object.prototype.hasOwnProperty.call(m.exports, 'default')

Expected:

No issue

Actual:

src/bundle-renderer/create-bundle-runner.ts:113:14: prototype
@JounQin
Copy link
Contributor Author

JounQin commented Jan 6, 2024

I don't want to enable --ignore-object

@plantain-00 plantain-00 added the invalid This doesn't seem right label Jan 6, 2024
@plantain-00
Copy link
Owner

Object.prototype's type is Object as expected.

@JounQin
Copy link
Contributor Author

JounQin commented Jan 6, 2024

Object.prototype's type is Object as expected.

@plantain-00 Could that be possible to report Object.prototype but ignore Object.prototype.xxx?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants