compiler: comptime generated str methods for arrays are public
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…
Reference in New Issue