mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: restrict numeric promotions to cases where no data is lost
This commit is contained in:
@@ -20,7 +20,7 @@ pub fn unix(abs int) Time {
|
||||
hour: hr
|
||||
minute: min
|
||||
second: sec
|
||||
unix: abs
|
||||
unix: u64(abs)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user