mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: comptime generated str methods for arrays are public
This commit is contained in:
parent
fe8145c697
commit
be99a65f2b
@ -248,6 +248,7 @@ fn (p mut Parser) gen_array_str(typ mut Type) {
|
|||||||
typ: 'string'
|
typ: 'string'
|
||||||
args: [Var{typ: typ.name, is_arg:true}]
|
args: [Var{typ: typ.name, is_arg:true}]
|
||||||
is_method: true
|
is_method: true
|
||||||
|
is_public: true
|
||||||
receiver_typ: typ.name
|
receiver_typ: typ.name
|
||||||
})
|
})
|
||||||
t := typ.name
|
t := typ.name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user