"KopiLua/printf/AT.MIN.Tools.Tests/vscode:/vscode.git/clone" did not exist on "8a76b646a3f7145f38e37f1270ae55928358a86a"
Commit dc976e88 authored by Mervill's avatar Mervill
Browse files

Type search now looks for classes not declared in a namespace (Common on Unity3D).

parent d420b17e
......@@ -171,6 +171,7 @@ local mt = {
local class = rawget(package, classname)
if class == nil then
class = import_type(package.packageName .. ""."" .. classname)
if class == nil then class = import_type(classname) end
package[classname] = class -- keep what we found around, so it will be shared
end
return class
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment