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

levl isn't translated in wow-return #279

Open
vpzomtrrfrt opened this issue Nov 16, 2021 · 2 comments
Open

levl isn't translated in wow-return #279

vpzomtrrfrt opened this issue Nov 16, 2021 · 2 comments

Comments

@vpzomtrrfrt
Copy link
Member

such foo much array
wow foo levl 0

gives

function foo (array) {
return foo levl 0;
}

instead of the expected array index operation

@vpzomtrrfrt
Copy link
Member Author

plz isn't either, are expressions expected to work here?

@AnEmortalKid
Copy link
Member

are expressions expected to work here?

Not expected to work, the way wow is handled at a return , iirc, it is just return "wow" + YOUR INPUT ` so there isn't an evaluation of the expression.

It would be ideal if it did work, but I figured that would be something we can fix with the 3.x rewrite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants