pkulchenko / ZeroBraneStudio

Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and other Lua interpreters on Windows, macOS, and Linux
http://studio.zerobrane.com/
Other
2.61k stars 519 forks source link

The IDE required me another useless "end" in my code, eventhough it worked completely fine #1076

Closed BlaztOne closed 4 years ago

BlaztOne commented 4 years ago

Error

I tried to add some "end" but the IDE said that "end" wasn't needed

image

This function works completely fine after I print the result out

image

ildar commented 4 years ago
  1. Why'd you want the extra end?
  2. Lua doesn't require compilation. What does Analyse tell you?
  3. If you need some "novice" type help, would you ask at a chat? Guess irc channels #lua and https://studio.zerobrane.com/community are best choices IMHO
pkulchenko commented 4 years ago

@BlaztOne, I'm closing this issue, but feel free to re-open if you have answers to @ildar's questions and any additional information.