mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
operator | not defined on bool
This commit is contained in:
@@ -38,6 +38,8 @@ struct C.tm {
|
||||
tm_sec int
|
||||
}
|
||||
|
||||
fn C.time(int) i64
|
||||
|
||||
pub fn now() Time {
|
||||
t := C.time(0)
|
||||
mut now := &C.tm{!}
|
||||
|
||||
Reference in New Issue
Block a user