mir(hints): add JoinResult trace smoke; add assign_both_branches case; docs: trace usage in scope-hints; all smokes pass
This commit is contained in:
8
apps/tests/macro/if/assign_both_branches.nyash
Normal file
8
apps/tests/macro/if/assign_both_branches.nyash
Normal file
@ -0,0 +1,8 @@
|
||||
local x = 0
|
||||
if (1 < 2) {
|
||||
x = 10
|
||||
} else {
|
||||
x = 20
|
||||
}
|
||||
print(x)
|
||||
|
||||
Reference in New Issue
Block a user