teal-language/tl

Cannot use semicolon after return statement

Aberta

#976 aberto em 13 de mai. de 2025

 (10 comentários) (0 reação) (0 responsável)Lua (160 forks)batch import
buggood first issue

Métricas do repositório

Stars
 (2.810 estrelas)
Métricas de merge de PR
 (Mesclagem média 1d 6h) (1 fundiu PR em 30d)

Description

This is not a major bug, but rather a non-intuitive situation.

local function test()
    return;
end             -- return must be the last statement of its block

Some folks coming from the C world complained about this.

Guia do colaborador