-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
"export default" within Vue component srcipt causes index-out-of-range #7534
Labels
Comments
sxzz
added a commit
that referenced
this issue
Jan 15, 2023
sxzz
added a commit
that referenced
this issue
Jan 26, 2023
sxzz
added a commit
that referenced
this issue
Jan 29, 2023
sxzz
added a commit
that referenced
this issue
Jan 29, 2023
sxzz
added a commit
that referenced
this issue
Feb 1, 2023
sxzz
added a commit
that referenced
this issue
Feb 4, 2023
haoqunjiang
added
scope: compiler
has PR
A pull request has already been submitted to solve the issue
labels
Mar 15, 2023
sxzz
added a commit
that referenced
this issue
Mar 27, 2023
sxzz
added a commit
that referenced
this issue
Mar 28, 2023
IAmSSH
pushed a commit
to IAmSSH/core
that referenced
this issue
May 14, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Vue version
3.2.45
Link to minimal reproduction
https://github.com/TelephoneTan/vuejs-core-issue-7534
Steps to reproduce
Run
npm i
followed bynpm run dev
.What is expected?
everything ok
What is actually happening?
compile error
System Info
Any additional comments?
error comes from here:
core/packages/compiler-sfc/src/compileScript.ts
Lines 1064 to 1071 in 4c6176d
this line:
core/packages/compiler-sfc/src/compileScript.ts
Line 1068 in 4c6176d
If the function call has no arguments,
arguments[0].type
would be an error.The text was updated successfully, but these errors were encountered: