diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-07-20 09:15:59 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-07-30 00:41:56 +0200 |
commit | 78dfb08f7569904394249758b2d7a563366b60ff (patch) | |
tree | 9bc188074b77f1ea5cc03b846f9d1f4af7032de7 /tests/custom/04_modules/01_export_variable_declaration | |
parent | afd78c1f30ce5d32d0a8dbce72e76d7871903f2f (diff) |
compiler: require a name in function declarations
So far we allowed anonymous toplevel function expressions which makes
little sense since those can't be used for anything.
Require toplevel function declarations to be named and turn a missing
name into a compile time syntax error.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests/custom/04_modules/01_export_variable_declaration')
0 files changed, 0 insertions, 0 deletions