mirror of
https://github.com/vlang/v.git
synced 2025-09-07 22:30:57 -04:00
13 lines
131 B
V
13 lines
131 B
V
module context
|
|
|
|
const none_ = IError(&None{})
|
|
|
|
struct None {
|
|
msg string
|
|
code int
|
|
}
|
|
|
|
fn (_ None) str() string {
|
|
return 'none'
|
|
}
|