whoops pop one more
Getty Ritter
1 year, 10 months ago
98 | 98 | case typ of |
99 | 99 | Lua.TypeNil |
100 | 100 | -- Defer to the standard tags by default |
101 |
| optUseDefaultTags opts -> |
|
101 | | optUseDefaultTags opts -> do | |
102 | -- make sure we get that `nil` off the stack! | |
103 | Lua.pop 1 | |
104 | standardTags n ps' | |
102 | 105 | -- ...but if the user opted out, then throw errors |
103 | 106 | | otherwise -> throw (NoSuchTag n) |
104 | 107 | -- if it's a function, then we can call it! |