Skip to content

Commit 2779ac6

Browse files
committed
pass tests
1 parent 1fbf704 commit 2779ac6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

script/vm/manager.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ local localManager = require 'vm.local-manager'
77

88
---@class vm.state
99
local m = {}
10+
for uri in files.eachFile() do
11+
local state = files.getState(uri)
12+
if state then
13+
globalManager.compileAst(state.ast)
14+
end
15+
end
1016

1117
files.watch(function (ev, uri)
1218
if ev == 'update' then

0 commit comments

Comments
 (0)