mirror of
https://github.com/Dummi26/mers.git
synced 2025-03-10 22:37:46 +01:00
10 lines
258 B
Plaintext
10 lines
258 B
Plaintext
![]() |
// NOTE: Might change, but this is the current state of things
|
||
|
x := 10
|
||
|
t := thread(() {
|
||
|
sleep(0.25)
|
||
|
x
|
||
|
})
|
||
|
&x = 20 // -> 20 20 because it modifies the original variable x
|
||
|
// x := 20 // -> 10 20 because it shadows the original variable x
|
||
|
t.await() == x
|