| 1 | module my_module |
| 2 | |
| 3 | import another |
| 4 | import other as ooo |
| 5 | |
| 6 | pub fn do_something() { |
| 7 | mut simples := []MyStruct{} |
| 8 | // |
| 9 | mut threads := []thread MyStruct{} |
| 10 | threads.wait() |
| 11 | // |
| 12 | mut another_threads := []thread another.MyStruct{} |
| 13 | another_threads.wait() |
| 14 | // |
| 15 | mut other_threads := []thread ooo.MyStruct{} |
| 16 | other_threads.wait() |
| 17 | } |
| 18 |