1
0
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:
Henrixounez 2019-08-22 04:00:06 +02:00 committed by Alexander Medvednikov
parent fe8145c697
commit be99a65f2b

View File

@ -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