diff --git a/cmd/tools/vtest-fixed.v b/cmd/tools/vtest-fixed.v index ca1ece8ae5..0ff2ac378f 100644 --- a/cmd/tools/vtest-fixed.v +++ b/cmd/tools/vtest-fixed.v @@ -21,7 +21,6 @@ const ( 'vlib/net/ftp/ftp_test.v', 'vlib/net/http/http_httpbin_test.v', 'vlib/net/http/http_test.v', - 'vlib/net/socket_test.v', 'vlib/regex/regex_test.v', 'vlib/sqlite/sqlite_test.v', // Linux only 'vlib/strconv/ftoa/f32_f64_to_string_test.v', @@ -56,6 +55,7 @@ const ( fn main() { vexe := pref.vexe_path() vroot := os.dir(vexe) + os.chdir(vroot) args := os.args args_string := args[1..].join(' ') cmd_prefix := args_string.all_before('test-fixed') diff --git a/vlib/v/ast/str.v b/vlib/v/ast/str.v index ff25baecac..d6317f0eb0 100644 --- a/vlib/v/ast/str.v +++ b/vlib/v/ast/str.v @@ -130,6 +130,9 @@ pub fn (x Expr) str() string { CastExpr { return '${it.typname}(${it.expr.str()})' } + SelectorExpr { + return '${it.expr.str()}.${it.field}' + } CallExpr { sargs := args2str(it.args) if it.is_method {