Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

mymod_update.lua 中的 mod.getinfo 没有被替换 #7

Description

@ylme

在 reload 重新加载 mymod 后添加下面打印报错了

print("===mymod.getinfo", mymod.getinfo)

下面是报错

lua: ./reload.lua:41: attempt to index a nil value (upvalue 'dummy_module_cache')
stack traceback:
        ./reload.lua:41: in function <./reload.lua:41>
        [C]: in function 'tostring'
        [C]: in function 'print'
        test.lua:34: in main chunk
        [C]: in ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions