[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 5.4 Incompatibilities with the Previous Version
- From: Tomás Guisasola <tomasguisasola@...>
- Date: Tue, 21 Sep 2021 15:14:53 -0300
Hi Jonathan
> I don't know about "real" real code in the wild that broke, but it's easy to imagine something like this toy example breaking:
>
> local t = {require("mymodule"), require("anothermod"), require("lastmod")}
> assert(#t == 3) -- or code that implicitly assumes #t to be equal to 3
require() will throw an error in case of failure, so it won't reach
assert(), isn't it?
Regards,
Tomás