vscode-glua-enhanced icon indicating copy to clipboard operation
vscode-glua-enhanced copied to clipboard

What is the purpose of this line if it is just being used to continue the loop?

Open ghost opened this issue 3 years ago • 1 comments

https://github.com/WilliamVenner/vscode-glua-enhanced/blob/df312a279cfeff123e002019093d51ef25e5a3d0/generator/scrape.py#L77

I'm rewriting the script in Lua but I am unsure if this behaves differently from continue used in other Lua versions such as Luau, Lua++ & etc.

What is the purpose of this continue statement, if anything?

ghost avatar Oct 06 '22 21:10 ghost

I believe it's to make up for that dumb bug on the wiki where if one member of a struct is deprecated, the entire struct shows up as deprecated in the sidebar. For a while this is what the SWEP struct was in the sidebar.

WilliamVenner avatar Oct 07 '22 16:10 WilliamVenner