Alexander Medvednikov
|
015ccc2a7f
|
V 0.3.5
|
2023-06-29 22:16:34 +03:00 |
|
Alexander Medvednikov
|
cf323cd0ef
|
Revert "checker: fix autocast in complex if conditions 3 (#18710)"
This reverts commit e74723c1e7.
|
2023-06-29 21:37:11 +03:00 |
|
Turiiya
|
357a4a00bf
|
checker: fix generic infix expr type mismatch error (#18706)
|
2023-06-29 21:32:21 +03:00 |
|
yuyi
|
e74723c1e7
|
checker: fix autocast in complex if conditions 3 (#18710)
|
2023-06-29 21:31:40 +03:00 |
|
Spydr
|
c4ba47a131
|
native: inital support for aliased types (#18703)
|
2023-06-29 21:30:48 +03:00 |
|
yuyi
|
f122703a43
|
v: use autocasting in if conditions inside the compiler (#18708)
|
2023-06-29 19:37:36 +03:00 |
|
Alexander Medvednikov
|
85160923b6
|
changelog: 0.3.5 (p. 1)
|
2023-06-29 19:28:38 +03:00 |
|
yuyi
|
60f9f53e36
|
checker: fix autocast in complex if condtions 2 (#18702)
|
2023-06-29 07:01:21 +03:00 |
|
Daniel Daudysh
|
f0fb86f76e
|
checker,orm: skip compile-time error msg for fields tagged with [skip] and [sql: '-'] (#18700)
|
2023-06-29 06:43:24 +03:00 |
|
Swastik Baranwal
|
499d0526fc
|
checker,orm: add compile error for unsupported field data types like field []int etc (#18537)
|
2023-06-28 13:40:36 +03:00 |
|
yuyi
|
2b2aca6eb7
|
checker: fix autocast in complex if condtions (#18699)
|
2023-06-28 13:37:20 +03:00 |
|
Felipe Pena
|
89c56fb5ee
|
parser, checker: fix static method naming and generic call (#18694)
|
2023-06-28 07:07:07 +03:00 |
|
Felipe Pena
|
83ee2827d4
|
cgen: fix alias to struct ptr on structinit (#18571)
|
2023-06-28 07:02:32 +03:00 |
|
yuyi
|
8508c552d2
|
checker: implement autocast in if conditions (#18573)
|
2023-06-27 20:08:50 +03:00 |
|
Swastik Baranwal
|
e48b55fc80
|
checker: disallow Result type aliases (#18693)
|
2023-06-27 20:08:37 +03:00 |
|
Felipe Pena
|
d523bb0306
|
checker: fix missing check for taking address of literal value member (#18570)
|
2023-06-27 10:54:03 +03:00 |
|
yuyi
|
3558e05bfb
|
tests: fix reflection_sym_test.v (#18574)
|
2023-06-27 10:53:35 +03:00 |
|
Alexander Medvednikov
|
02c382569c
|
gen.golang: fix anon fn
|
2023-06-27 02:17:09 +03:00 |
|
Alexander Medvednikov
|
21ccb9b48e
|
doc: clarify new static type methods a bit
|
2023-06-27 01:38:31 +03:00 |
|
Alexander Medvednikov
|
d52bac8ee9
|
doc: document new static type methods
|
2023-06-27 01:31:56 +03:00 |
|
Eliyaan (Nopana)
|
7a9c885b31
|
native: replace abs() with mathutils.abs() (#18568)
|
2023-06-27 01:25:12 +03:00 |
|
yuyi
|
a67342d05b
|
checker: minor cleanup in infix_expr() (#18567)
|
2023-06-27 01:24:46 +03:00 |
|
Alexander Medvednikov
|
a9f8b5dadc
|
all: static type methods
|
2023-06-27 01:23:30 +03:00 |
|
Delyan Angelov
|
ec35d76574
|
cgen: cleanup return comments in generated code after dbd2517 (-32KB for v.c)
|
2023-06-25 09:51:32 +03:00 |
|
Felipe Pena
|
1ee83bf639
|
checker: disallow using Result !Type as a map[Key]!Type (#18543)
|
2023-06-25 09:51:10 +03:00 |
|
Spydr
|
31f68eea94
|
native: split codegen into multiple files and refactor assign statement generation (#18546)
|
2023-06-25 09:47:10 +03:00 |
|
Felipe Pena
|
e9960339f9
|
cgen: fix generic resolver on non generic function (#18381)
|
2023-06-25 09:07:14 +03:00 |
|
yuyi
|
84a5fd0051
|
cgen: minor cleanup for ast.clear_flags() (#18549)
|
2023-06-25 09:01:36 +03:00 |
|
Felipe Pena
|
34ac3269bc
|
cgen: fix initialising a map, using option type as value (#18540)
|
2023-06-25 01:55:42 +03:00 |
|
Felipe Pena
|
752e4c2e47
|
cgen, checker: allow a << none, where a is []?&int (#18539)
|
2023-06-24 20:54:49 +03:00 |
|
yuyi
|
3e3b289583
|
checker: check shared parameter assigning (fix #18525) (#18534)
|
2023-06-24 14:18:11 +03:00 |
|
Felipe Pena
|
2abd2e2c2a
|
cgen, checker: fix indexexpr with sumtype of array types (#18515)
|
2023-06-24 09:09:49 +03:00 |
|
Delyan Angelov
|
4c9c515f8b
|
parser: remove hardcoded check for function calls for C.stat, C.sigaction, etc (#18535)
|
2023-06-24 08:03:12 +03:00 |
|
yuyi
|
f3e1859ee8
|
parser: fix multiple embedded external module interface (#18531)
|
2023-06-23 21:23:24 +03:00 |
|
Felipe Pena
|
9d77fd90bf
|
checker: fix missing check for diff type on map value declaration (#18522)
|
2023-06-22 22:48:15 +03:00 |
|
yuyi
|
68ba39084d
|
checker: check struct field init with result value (fix #18511) (#18514)
|
2023-06-22 22:40:11 +03:00 |
|
Swastik Baranwal
|
0b2e947e0c
|
parser: disallow multi else branches in match (#18526)
|
2023-06-22 22:39:35 +03:00 |
|
Delyan Angelov
|
0e4eea80ca
|
cgen: fix code generation for generic unions (#18513)
|
2023-06-22 22:39:05 +03:00 |
|
yuyi
|
22bd1b9d55
|
ast: clean up ast.StructInit (#18518)
|
2023-06-22 16:41:08 +03:00 |
|
yuyi
|
76ae9dba5c
|
checker: check struct init with pointer field (fix #18485) (#18501)
|
2023-06-21 12:36:28 +03:00 |
|
Turiiya
|
867f4376d8
|
checker: abstract repetitive error handling (#18507)
|
2023-06-21 12:13:18 +03:00 |
|
yuyi
|
b61fdfa094
|
checker, cgen: fix generic method variable (#18509)
|
2023-06-21 12:09:53 +03:00 |
|
Felipe Pena
|
c657384f72
|
cgen: fix alias to option handling (#18490)
|
2023-06-20 11:55:25 +03:00 |
|
Turiiya
|
a7f00e7594
|
checker: add hint to sumtype cannot hold reference types error (#18486)
|
2023-06-20 11:54:57 +03:00 |
|
Felipe Pena
|
0232f074a8
|
cgen: fix alias eq method + map init with option (#18483)
|
2023-06-20 11:52:59 +03:00 |
|
Turiiya
|
958e456790
|
parser: fix match for array of reference sumtype (#18487)
|
2023-06-19 18:40:17 +03:00 |
|
yuyi
|
7c1ace02f3
|
checker: fix a bug checking generic closures (#18489)
|
2023-06-19 18:22:25 +03:00 |
|
Turiiya
|
396d46d9ca
|
ast, builder, checker, parser: fix typos (#18480)
|
2023-06-18 22:36:17 +03:00 |
|
Turiiya
|
0454f43fa3
|
checker: fix error assigning generic function variable with generic struct return (#18472)
|
2023-06-18 22:22:22 +03:00 |
|
Delyan Angelov
|
017cc6738b
|
checker: add a hard to reach limit of 1_000_000 iterations for resolving all generics (usually <10 are enough) (#18477)
|
2023-06-17 22:29:36 +03:00 |
|