mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: require params attribute to use struct as keyword arguments in function (#11135)
This commit is contained in:
@@ -97,6 +97,7 @@ pub fn integer_from_u64(value u64) Integer {
|
||||
}
|
||||
}
|
||||
|
||||
[params]
|
||||
pub struct IntegerConfig {
|
||||
signum int = 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user