lang: funcs: core: Make module names public
This is needed for when we have nested modules.
This commit is contained in:
@@ -27,7 +27,7 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
simple.ModuleRegister(moduleName, "weekday", &types.FuncValue{
|
||||
simple.ModuleRegister(ModuleName, "weekday", &types.FuncValue{
|
||||
T: types.NewType("func(a int) str"),
|
||||
V: Weekday,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user