Swastik Baranwal
|
b872487d82
|
cgen : allow ORM to work with DB aliases (#16939)
|
2023-01-11 11:58:55 +02:00 |
|
JalonSolov
|
90941b3b1f
|
all: change optional to option (#16914)
|
2023-01-09 09:36:45 +03:00 |
|
yuyi
|
21d6bd930e
|
ast, cgen: fix printing nested generic struct (#16758)
|
2022-12-25 09:57:16 +02:00 |
|
yuyi
|
aad95ac818
|
cgen: fix generic struct init with inconsistent generic types (fix #16677) (#16702)
|
2022-12-19 10:43:27 +02:00 |
|
yuyi
|
e35f5f290e
|
cgen: fix string of map with generic struct value (#16595)
|
2022-12-06 12:38:05 +02:00 |
|
yuyi
|
ef5be22f81
|
all: replace generic <> with [] - part 2 (#16536)
|
2022-11-26 18:23:26 +02:00 |
|
shove
|
37700502f5
|
all: implement struct field optional and disallow storing result (#16392)
|
2022-11-17 07:51:50 +02:00 |
|
yuyi
|
017ace6ea7
|
vfmt: change all '$expr' to '${expr}' (#16428)
|
2022-11-15 16:53:13 +03:00 |
|
yuyi
|
5a28699edb
|
cgen: minor cleanup in auto_str_methods.v (#16411)
|
2022-11-13 11:59:32 +03:00 |
|
shove
|
3a85955d22
|
all: rollback to old interpolation (step 4) (#16383)
|
2022-11-11 11:06:01 +03:00 |
|
yuyi
|
196b01aef7
|
all: minor cleanup of optional and result (#16382)
|
2022-11-10 20:14:20 +02:00 |
|
yuyi
|
1d04b71c91
|
cgen: fix generic sumtype auto str (#16355)
|
2022-11-08 10:49:09 +02:00 |
|
Delyan Angelov
|
02c3af2432
|
all: add support for enum Xyz as u64 { + tests (#16246)
|
2022-10-29 06:32:20 +03:00 |
|
Alexander Medvednikov
|
18c7da9a5e
|
all: new string interpolation "hello {name}!"
|
2022-10-27 11:01:01 +03:00 |
|
shove
|
fef4dd94e9
|
ast, checker, cgen: enable unsafe { nil } with reference to interface fields in structs (fix #16198) (#16199)
|
2022-10-26 09:39:23 +03:00 |
|
Delyan Angelov
|
7f2d731d19
|
cgen: fix dump(c_struct) , where c_struct has fields of type &&char
|
2022-10-12 09:00:16 +03:00 |
|
shove
|
e2398cafd2
|
cgen: fix str() fails when the structure 'charptr' type field is nil (fix #15970) (#16002)
|
2022-10-09 08:33:45 +03:00 |
|
shove
|
bbf1ba458e
|
cgen: fix using reference of sumtype or map as struct field (fix: #15827) (#15828)
|
2022-09-20 13:22:08 +03:00 |
|
Swastik Baranwal
|
f09197b972
|
cgen: fix printing and dumping of struct having referenced interface as field (#15765)
|
2022-09-15 12:43:23 +03:00 |
|
yuyi
|
56135dbdbc
|
cgen: fix printing reference enum (#15606)
|
2022-08-30 14:24:48 +03:00 |
|
yuyi
|
fc9d2d5d5e
|
cgen: cleanup generic_fn_name() (#15531)
|
2022-08-26 07:04:10 +03:00 |
|
Swastik Baranwal
|
3bc01d696d
|
cgen: fix []u8 string representation (#15432)
|
2022-08-15 23:48:38 +03:00 |
|
yuyi
|
03b7c76b38
|
cgen: optimize auto_str_methods of [str:skip] fields (#15227)
|
2022-07-26 09:38:50 +03:00 |
|
yuyi
|
0b0c496eff
|
cgen: fix printing struct with skip fields (#15224)
|
2022-07-26 04:37:16 +03:00 |
|
Alexander Medvednikov
|
f1ebfb2d42
|
cgen: str:skip field
|
2022-07-25 17:25:47 +03:00 |
|
Delyan Angelov
|
dc1b54c669
|
ci: fix failing ./v vlib/builtin/builtin_test.v (globals initialisation)
|
2022-07-21 21:49:00 +03:00 |
|
yuyi
|
758f84fa86
|
ast, parser, cgen: fix anon sumtype cast (fix #14967) (#14976)
|
2022-07-07 18:51:57 +03:00 |
|
zakuro
|
a46bcf3571
|
all: v.ast.byte_type -> v.ast.u8_type (#14964)
|
2022-07-06 13:32:30 +03:00 |
|
yuyi
|
585b5145fa
|
cgen: fix auto string method generated for []&int{len:1} (#14829)
|
2022-06-22 14:54:04 +03:00 |
|
yuyi
|
55e7daa2f9
|
cgen: simplify auto_str_methods.v (#14463)
|
2022-05-19 22:29:15 +03:00 |
|
crthpl
|
46f94e8d68
|
cgen: fix autostr of shared fields (#14455)
|
2022-05-19 17:00:27 +03:00 |
|
yuyi
|
3291c59ebf
|
cgen: minor cleanup in auto_str_methods.v (#14461)
|
2022-05-19 14:02:07 +03:00 |
|
Daniel Däschle
|
d679146a80
|
fmt: remove space in front of ? and ! (#14366)
|
2022-05-13 06:56:21 +03:00 |
|
Daniel Däschle
|
08fd0ce0de
|
all: basic implementation of result type (#14140)
|
2022-04-30 01:59:14 +03:00 |
|
yuyi
|
660201c188
|
cgen: fix error for cast to empty interface (fix #14162) (#14176)
|
2022-04-26 13:26:48 +03:00 |
|
Alexander Medvednikov
|
0527ac633e
|
ast: remove .byte
|
2022-04-15 15:30:37 +03:00 |
|
yuyi
|
c4dff0d797
|
cgen: format the generated source code by gen_str_for_union_sum_type() (#14026)
|
2022-04-14 15:26:10 +03:00 |
|
yuyi
|
72c2dc805d
|
cgen: fix error for generics struct that parent has str to string (#14037)
|
2022-04-14 15:23:50 +03:00 |
|
yuyi
|
78d9975798
|
ast, cgen: restore Type.str() and fix error for it (#13815)
|
2022-03-24 11:45:06 +02:00 |
|
yuyi
|
35cd8112a5
|
ast, checker, cgen: fix error for printing alias that has str method (#13809)
|
2022-03-23 11:52:48 +02:00 |
|
yuyi
|
27f9bc9ba0
|
checker: check error for match mut with immutable variable (fix #9704 #8976) (#13725)
|
2022-03-13 09:53:29 +02:00 |
|
Alexander Medvednikov
|
36ec47cd20
|
all: replace "NB:" with "Note:" (docs/comments)
|
2022-03-06 20:01:22 +03:00 |
|
yuyi
|
c8e33ad219
|
cgen: fix error for array of reference auto_str (#13665)
|
2022-03-06 12:15:31 +02:00 |
|
yuyi
|
ece73836aa
|
cgen: fix error for struct with reference alias field (#13380)
|
2022-02-06 10:52:36 +02:00 |
|
Delyan Angelov
|
5faabe7464
|
Revert "cgen: fix error for struct with reference alias fields (#13374)"
This reverts commit 4d485ae687f87f5651c351fef261a784f80af32f.
|
2022-02-05 18:52:37 +02:00 |
|
yuyi
|
4d485ae687
|
cgen: fix error for struct with reference alias fields (#13374)
|
2022-02-05 18:23:54 +02:00 |
|
yuyi
|
fb66ec7cfb
|
cgen: fix codegen for aliases of fixed arrays of structs (fix #13037) (#13049)
|
2022-01-06 11:54:22 +02:00 |
|
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
|
yuyi
|
2e68af22d3
|
cgen: improve auto_str error messages (#12972)
|
2021-12-26 18:32:15 +02:00 |
|
Daniel Däschle
|
10f63b3cd7
|
cgen: remove "main" from inline sum type str (#12963)
|
2021-12-25 23:58:45 +03:00 |
|