gdritter repos telml / f8b31f6
whoops pop one more Getty Ritter 1 year, 10 months ago
1 changed file(s) with 4 addition(s) and 1 deletion(s). Collapse all Expand all
9898 case typ of
9999 Lua.TypeNil
100100 -- Defer to the standard tags by default
101 | optUseDefaultTags opts -> standardTags n ps'
101 | optUseDefaultTags opts -> do
102 -- make sure we get that `nil` off the stack!
103 Lua.pop 1
104 standardTags n ps'
102105 -- ...but if the user opted out, then throw errors
103106 | otherwise -> throw (NoSuchTag n)
104107 -- if it's a function, then we can call it!