Open ilyash-b opened 6 years ago
Suggestion: global
methods should not be even listed in the namespace. Warning: if doing this change, make sure the documentation generation is updated accordingly.
Plan: move ns
syntax construct processing from syntax.leg
into compile.c
, which knows which variables are local and which are not. Only generate _exports['...']=
statements for local variables.
If
f
is a global multimethod and it was declaredglobal
in a namespace, shouldns::f
only list f methods defined in the namespace or all methods?