Mark aka walkingdevel
Mark aka walkingdevel
@changrui, @youyuanwu, can you reproduce errors now?
Fixed in #168
@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.
Fixed in #18020
Fixed in #206
@Delta456, can you fix it?
Fixed in #17871
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...