Files
hakorune/apps/tests/shortcircuit_nested_selective_assign.nyash

14 lines
226 B
Plaintext
Raw Normal View History

2025-09-15 22:14:42 +09:00
static box Main {
main(args) {
local x = 0
local a = true
local b = false
// a && (b || ((x = 1) > 0))
if (a && (b || ((x = 1) > 0))) {
// x は 1 に設定済み
} else { }
return x
}
}