1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: fix generic array init with fields (#16601)

This commit is contained in:
yuyi
2022-12-06 15:33:26 +08:00
committed by GitHub
parent edfaa76b3e
commit 46bb62955b
3 changed files with 65 additions and 2 deletions

View File

@@ -460,7 +460,7 @@ const (
struct CharClass {
mut:
cc_type int = regex.cc_null // type of cc token
cc_type int // type of cc token
ch0 rune // first char of the interval a-b a in this case
ch1 rune // second char of the interval a-b b in this case
validator FnValidator // validator function pointer