parser: deprecate short struct init (#10842)

This commit is contained in:
Daniel Däschle 2021-07-20 10:17:08 +02:00 committed by GitHub
parent dc045806f9
commit ad3835b598
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
85 changed files with 234 additions and 238 deletions

View file

@ -193,7 +193,7 @@ pub fn (ctx &Context) draw_text(x int, y int, text_ string, cfg gx.TextCfg) {
}
pub fn (ctx &Context) draw_text_def(x int, y int, text string) {
ctx.draw_text(x, y, text, {})
ctx.draw_text(x, y, text)
}
/*