From be99a65f2bcb51847398eb0f8aec94a50bd08b8a Mon Sep 17 00:00:00 2001 From: Henrixounez Date: Thu, 22 Aug 2019 04:00:06 +0200 Subject: [PATCH] compiler: comptime generated str methods for arrays are public --- compiler/comptime.v | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/comptime.v b/compiler/comptime.v index ddba606a79..c60be674ef 100644 --- a/compiler/comptime.v +++ b/compiler/comptime.v @@ -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