Originally created by @odenix on GitHub (Nov 5, 2024).
The following program prints length = 2:
local l1 = new Listing {
"foo"
}
local l2 = (l1) {
[0 + 0] = "bar"
}
length = l2.length
If [0 + 0] is replaced with [0], the program prints the expected length = 1.
Originally created by @odenix on GitHub (Nov 5, 2024).
The following program prints `length = 2`:
```
local l1 = new Listing {
"foo"
}
local l2 = (l1) {
[0 + 0] = "bar"
}
length = l2.length
```
If `[0 + 0]` is replaced with `[0]`, the program prints the expected `length = 1`.
adam
added the bug label 2025-12-30 01:22:37 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @odenix on GitHub (Nov 5, 2024).
The following program prints
length = 2:If
[0 + 0]is replaced with[0], the program prints the expectedlength = 1.@bioball commented on GitHub (Nov 5, 2024):
Good catch!