lang: funcs: core: Make module names public
This is needed for when we have nested modules.
This commit is contained in:
@@ -29,7 +29,7 @@ import (
|
||||
|
||||
func init() {
|
||||
// FIXME: should this be named sprintf instead?
|
||||
funcs.ModuleRegister(moduleName, "printf", func() interfaces.Func { return &PrintfFunc{} })
|
||||
funcs.ModuleRegister(ModuleName, "printf", func() interfaces.Func { return &PrintfFunc{} })
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user