I created a bug report (CIDER-90), but thought I’d post it here in case anyone else has seen it:
If you have a global function, the parser in 1.7 is unable to reference it.
To recreate, simply add a new Lua file, add the sample code below, and save it. Open Navigator. There, you will see _G.myGlobalFunction(sText).
Double click on it, which would normally take you to the function, and instead it opens a new file called globals.lua
This is not the correct behavior.
If I remove _G. from it, it works properly.
[code]
function _G.myGlobalFunction(sText )
print (“sText”)
end
[/code] [import]uid: 13784 topic_id: 30975 reply_id: 330975[/import]