Skip to content

Conversation

@larpon
Copy link
Contributor

@larpon larpon commented Mar 22, 2025

The return signature of remote/0 is also changed to use an Option (none) instead of a Result (error('none')). This oddity is likely a workaround for older versions of V.

… `pub`

The return signature of `remote/0` is also changed to use an `Option`
(`none`) instead of a `Result` (`error('none')`). This oddity is likely
a workaround for older versions of V.
@huly-for-github
Copy link

Connected to Huly®: V_0.6-22397

@spytheman
Copy link
Member

spytheman commented Mar 22, 2025

This oddity is likely a workaround for older versions of V.

It is the result of the !?Type split. At the time, the semantic preserving change was for just mechanically do: return error('none') for cases that were not clearly written for either ?Type vs !Type, and that did return none

@spytheman spytheman merged commit 20d7d97 into vlang:master Mar 22, 2025
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants