local functions broke start_reading/start_writing
commitf07eb03492814aeb91546cf856b7facc3c347954
authorKartik K. Agaram <vc@akkartik.com>
Sun, 6 Mar 2022 17:49:33 +0000 (6 09:49 -0800)
committerKartik K. Agaram <vc@akkartik.com>
Sun, 6 Mar 2022 17:49:33 +0000 (6 09:49 -0800)
treef52c2a13b38517ec7f5e66717f7dd40417ee6751
parent38ff2ddf11dc686a83be721d705e86c48538c837
local functions broke start_reading/start_writing

Looks like Lua's local functions lose access to outer scopes (upvalues)
or something like that..
src/file.lua