SquidDev / illuaminate

Very WIP static analysis for Lua
https://squiddev.cc/illuaminate/
BSD 3-Clause "New" or "Revised" License
49 stars 2 forks source link

Unreachable code on semicolon #24

Closed SquidDev closed 3 years ago

SquidDev commented 3 years ago
return;
--    ^ Unreachable code

This is technically correct, but a little unhelpful - we should drop semicolons until we reach a useful statement (or alternatively merge them into the "correct" node on the graph)