mirror of
https://github.com/vlang/v.git
synced 2025-09-14 23:12:33 +03:00
compiler: comptime generated str methods for arrays are public
This commit is contained in:
parent
fe8145c697
commit
be99a65f2b
1 changed files with 1 additions and 0 deletions
|
@ -248,6 +248,7 @@ fn (p mut Parser) gen_array_str(typ mut Type) {
|
|||
typ: 'string'
|
||||
args: [Var{typ: typ.name, is_arg:true}]
|
||||
is_method: true
|
||||
is_public: true
|
||||
receiver_typ: typ.name
|
||||
})
|
||||
t := typ.name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue