'do' expected near 'return' when bundling (works building) (SOLVED)

What’s wrong with this code?

Edit - changed the code and it still gives same error… Bundle Errors need to be more clear with what they are referring to!

It may be a missing “end” or something further up the file.

1 Like

Hmm, so it works when you’re building but not bundling? That’s really strange. And what if you select Rebuild All?

My guess is that there’s an issue further up in your code.

It ended up being an issue with another file. I made a git issue asking for bundle errors like this to be more specific.

4 Likes