1
0
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:
Daniel Däschle
2021-09-13 23:05:30 +02:00
committed by GitHub
parent ae41d1d3c6
commit b63ec8fbcf
16 changed files with 27 additions and 8 deletions

View File

@ -533,6 +533,7 @@ pub fn (h Header) keys() []string {
return h.data.keys()
}
[params]
pub struct HeaderRenderConfig {
version Version
coerce bool