Re: 5.4 Incompatibilities with the Previous Version
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: 5.4 Incompatibilities with the Previous Version
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2021年9月21日 15:30:01 -0300
> 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:
>
> [...]
That is why I asked for real code. Lua is a dynamic language. If
we consider toy examples, any single change to the language breaks
something. For instance, the code «assert(math.tointeger == nil)»
broke from 5.2 to 5.3. Similarly, «assert(load("return 10//1") == nil)»
also broke from 5.2 to 5.3.
-- Roberto