--- source: tests/bundle.rs expression: main --- local __DARKLUA_BUNDLE_MODULES __DARKLUA_BUNDLE_MODULES = { cache = {}, load = function(m) if not __DARKLUA_BUNDLE_MODULES.cache[m] then __DARKLUA_BUNDLE_MODULES.cache[m] = { c = __DARKLUA_BUNDLE_MODULES[m](), } end return __DARKLUA_BUNDLE_MODULES.cache[m].c end, } do function __DARKLUA_BUNDLE_MODULES.a() return 1 end end local value = __DARKLUA_BUNDLE_MODULES.load('a') local require = function() end local v = require('v')