mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: if smartcast part 2 (#5754)
This commit is contained in:
@ -33,8 +33,7 @@ fn wait() {
|
||||
|
||||
fn (l Lander) land(w World) {
|
||||
if w is Mars {
|
||||
m := w as Mars
|
||||
for m.dust_storm() {
|
||||
for it.dust_storm() {
|
||||
wait()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user