blob: 03e74ea23e2d0ccb8dd6482da38d620ef0ba78f3 [file]
require("exception_partial_info")
catch_undef_globs() -- catch "undefined" global variables
imp=exception_partial_info.Impl()
-- trying to call throwing methods
-- should fail
assert(not pcall(function() imp:f1() end))
assert(not pcall(function() imp:f2() end))