Mark aka walkingdevel

Results 16 comments of Mark aka walkingdevel

@changrui, @youyuanwu, can you reproduce errors now?

@ArtemkaKun, for now, I would keep it open. I will have a Windows device within a month, and then I will be able to check everything.

I understand the `if` expression in V implementation can't return statements, only expressions. But the error is non-friendly. For example, I didn't understand right away a block may contain statements,...

Because of this, such things work. ```v username := get_username() or { if err is NotFoundError { 'test' } else { { return err } '' } } ```

And about the error. > `if` expression requires an expression as the last statement of every branch I think this is an example of a bad error message. Because it...