Delyan Angelov
|
1cde55478d
|
cgen: fix cgen errors for overloaded operators using reference types for the receiver and operand (fix #16725) (fix #15859) (#16726)
|
2022-12-21 09:10:30 +02:00 |
|
Felipe Pena
|
2f9becc98d
|
cgen: fix debug generated code with -g , while fixing #16690 (#16723)
|
2022-12-20 16:41:42 +02:00 |
|
Felipe Pena
|
0fe7ae3a60
|
cgen: remove repeated code (#16718)
|
2022-12-20 10:52:37 +03:00 |
|
yuyi
|
2090e4a12f
|
ast, cgen: optimize generic struct with inconsistent generic types (#16708)
|
2022-12-19 15:02:27 +02:00 |
|
Delyan Angelov
|
353fdb4ca0
|
ci: workaround for v vet failing for v clean-code over the new v bench script (using \ in its path on windows).
|
2022-12-19 12:31:16 +02:00 |
|
Delyan Angelov
|
cbd34cd6e7
|
bench: add bench_string_key_in_map_vs_string_value_in_array.v
|
2022-12-19 11:56:00 +02:00 |
|
yuyi
|
aad95ac818
|
cgen: fix generic struct init with inconsistent generic types (fix #16677) (#16702)
|
2022-12-19 10:43:27 +02:00 |
|
Felipe Pena
|
04936b00c5
|
cgen: fix struct selector with or block (#16695)
|
2022-12-18 14:22:06 +02:00 |
|
Delyan Angelov
|
de5ae63401
|
parser: improve precision of struct field type positions in errors
|
2022-12-18 13:34:39 +02:00 |
|
Swastik Baranwal
|
5b4a16e864
|
checker: add err for unknown generic struct field (#16698)
|
2022-12-18 11:46:37 +02:00 |
|
yuyi
|
ba07e48691
|
ast, checker: fix checking generic struct type mismatch (#16701)
|
2022-12-18 10:29:44 +02:00 |
|
yuyi
|
e83a8416d5
|
ast, parser: fix generic struct init with inconsistent generic types (#16697)
|
2022-12-17 18:17:43 +02:00 |
|
Felipe Pena
|
9921598c91
|
cgen: fix struct field initialisation with a fixed array (#16692)
|
2022-12-17 18:15:17 +02:00 |
|
Felipe Pena
|
65a020e385
|
cgen: fix comptime checking optional type with IS operator (#16688)
|
2022-12-16 16:53:04 +03:00 |
|
Delyan Angelov
|
0a11955284
|
parser: support an unambiguous sizeof[T]() and isreftype[T]() (part 1) (#16684)
|
2022-12-15 19:21:52 +02:00 |
|
Swastik Baranwal
|
bd1d96de0e
|
cgen: add support for alias map keys (#16682)
|
2022-12-15 18:53:23 +02:00 |
|
Delyan Angelov
|
3643785981
|
pref: deprecate -error-limit in favour of the documented -message-limit option.
|
2022-12-15 10:37:57 +02:00 |
|
Makhnev Petr
|
db2111235e
|
tests: add a teamcity output format for V's test runner (#16681)
|
2022-12-15 09:29:09 +02:00 |
|
Felipe Pena
|
c3ee26f15f
|
checker,cgen: fix dump when using comptime variable val.${field.name} (#16671)
|
2022-12-14 20:45:28 +02:00 |
|
yuyi
|
8e3a90ae79
|
cgen: minor cleanup in struct_init() (#16676)
|
2022-12-14 15:25:09 +02:00 |
|
yuyi
|
8ab4c7742c
|
ast, checker: fix generic struct init with inconsistent generic types (#16675)
|
2022-12-14 14:57:12 +02:00 |
|
yuyi
|
69f7c45bec
|
builtin: fix array init with array default (#16664)
|
2022-12-13 18:05:33 +02:00 |
|
Felipe Pena
|
738fe77300
|
cgen: fix short circuiting behaviour of logical expressions, when several PrefixExpr's are used in if conditions (#16660)
|
2022-12-13 13:09:03 +02:00 |
|
Delyan Angelov
|
992621bd91
|
bench: add a small performance comparison script bench_json_vs_json2.v
|
2022-12-12 10:26:04 +02:00 |
|
yuyi
|
8225622da5
|
checker: check smartcasting requires either an immutable value, or an explicit mut keyword before the value (#16654)
|
2022-12-12 09:22:56 +02:00 |
|
yuyi
|
d87e400e77
|
transformer: clean up expr_stmt_match_expr() (#16655)
|
2022-12-12 08:41:02 +02:00 |
|
Felipe Pena
|
1e7208d28b
|
parser: fix initialization for array of Option type - []?Cell{} (#16652)
|
2022-12-12 08:40:05 +02:00 |
|
yuyi
|
73e886eafe
|
checker: fix generic fn returning result (#16646)
|
2022-12-11 12:34:58 +02:00 |
|
Delyan Angelov
|
4b2699fddd
|
cgen: fix copying of a fixed array parameter to a function (fix #16640)
|
2022-12-10 20:10:01 +02:00 |
|
lemon
|
799af2adad
|
native: support simple multi return (#16628)
|
2022-12-10 16:26:43 +02:00 |
|
Delyan Angelov
|
7c02274754
|
v.pkgconfig: support PKG_CONFIG_PATH_DEFAULTS for overriding the default search path list too (enable easier -m32 with a custom tcc cross compiler)
|
2022-12-10 00:50:24 +02:00 |
|
Felipe Pena
|
1ba1f99b9c
|
orm: declare missing functions to handle literal types (#16627)
|
2022-12-09 20:34:34 +02:00 |
|
Felipe Pena
|
ba8e61ebf3
|
cgen: fix return typeof[T]() in generic functions (#16626)
|
2022-12-09 17:24:47 +02:00 |
|
yuyi
|
6c0f22416f
|
cgen: fix if cond with result or optional in infix expr (#16625)
|
2022-12-09 12:01:14 +02:00 |
|
yuyi
|
68fb4e9fe5
|
cgen: fixevaluation order for match expressions inside boolean ones (fix #16554) (#16616)
|
2022-12-09 11:56:38 +02:00 |
|
Felipe Pena
|
f365771499
|
cgen: fix nested struct generation for globals for gcc (#16614)
|
2022-12-08 21:38:01 +02:00 |
|
谢克
|
32c80c53b3
|
cgen: fix generic functions returning none or error values with generic result types (#16613)
|
2022-12-08 11:08:39 +02:00 |
|
Felipe Pena
|
2261606b56
|
checker: disallow Bar{...foo} when Bar needs more fields, than what foo has (#16609)
|
2022-12-07 16:56:07 +02:00 |
|
yuyi
|
4eb81d2f05
|
checker: improve error messages of missing generic type names (#16610)
|
2022-12-07 11:29:18 +02:00 |
|
Delyan Angelov
|
48a7de643e
|
all: support typeof[ T ]().idx and typeof[ T ]().name, where T can be any type, including ![]&string (#16513)
|
2022-12-07 11:26:27 +02:00 |
|
Swastik Baranwal
|
bb705c01d2
|
parser: add proper error msg for := used in const decl (#16607)
|
2022-12-06 22:44:33 +03:00 |
|
yuyi
|
921416d821
|
parser: fix parsing generic types using '[]' in anon fn decl (#16605)
|
2022-12-06 18:15:59 +02:00 |
|
Felipe Pena
|
cf015e5073
|
checker: add clearer errors for break /continue used within a $for loop (#16600)
|
2022-12-06 17:27:59 +02:00 |
|
Swastik Baranwal
|
ada8643ac5
|
checker: disallow using builtin type names for const names (#16599)
|
2022-12-06 15:44:25 +02:00 |
|
yuyi
|
e35f5f290e
|
cgen: fix string of map with generic struct value (#16595)
|
2022-12-06 12:38:05 +02:00 |
|
yuyi
|
a96e2e7093
|
parser: fix parsing embedded generic interface using '[]' (#16603)
|
2022-12-06 12:37:36 +02:00 |
|
yuyi
|
46bb62955b
|
cgen: fix generic array init with fields (#16601)
|
2022-12-06 09:33:26 +02:00 |
|
Felipe Pena
|
edfaa76b3e
|
checker: fix panic caused by compile-time code within or block (#16602)
|
2022-12-06 09:26:04 +02:00 |
|
yuyi
|
50110d4c19
|
all: replace generic '<>' with '[]' in .vv files (#16593)
|
2022-12-05 16:32:15 +02:00 |
|
yuyi
|
7e9e2ff459
|
cgen: fix if expr with multiple array call (fix #16583) (#16589)
|
2022-12-05 12:07:39 +02:00 |
|