-
-
Notifications
You must be signed in to change notification settings - Fork 184
Closed
Labels
Description
Currently, this is allowed:
function foo() {}
foo.bar = "bar";But it produces bad code since functions are not tables in lua.
A variant of this is namespace merging into a function:
function foo() {}
namespace foo {
export let bar = "bar";
}I'm not sure if there's a reasonable way to support this. It's probably just something that should be an error.
Reactions are currently unavailable