diff options
Diffstat (limited to 'script-beta/parser/guide.lua')
-rw-r--r-- | script-beta/parser/guide.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua index 5ef81a18..daa648d6 100644 --- a/script-beta/parser/guide.lua +++ b/script-beta/parser/guide.lua @@ -16,6 +16,8 @@ local pairs = pairs local setmetatable = setmetatable local assert = assert local select = select +local osClock = os.clock +local DEVELOP = DEVELOP local _ENV = nil @@ -2778,6 +2780,10 @@ function m.searchInfer(status, obj) return end + if DEVELOP then + status.cache.clock = status.cache.clock or osClock() + end + local checked = m.inferCheckLiteral(status, obj) or m.inferCheckUnary(status, obj) or m.inferCheckBinary(status, obj) |