yuyi
|
7c2f3e4530
|
fmt: fix formatting of C.f(/*mut*/buff &char) i64 (#19069)
|
2023-08-07 07:00:35 +03:00 |
|
Delyan Angelov
|
598992b208
|
parser: support const x := 123 , to make extracting locals as constants less annoying while prototyping
|
2023-08-03 23:10:33 +03:00 |
|
Alexander Medvednikov
|
428fd7f57f
|
all: do not allow uninitialized function pointers
|
2023-08-03 21:06:36 +03:00 |
|
Swastik Baranwal
|
6a4bfef2c5
|
parser: disallow having builtin type as type names for enum , sum type and alias (#19043)
|
2023-08-03 11:42:31 +03:00 |
|
yuyi
|
5ec7ee916a
|
parser: fix formatting comptime if expr script (v fmt no longer eats the body of top level $if xyz ? {} ) (#19044)
|
2023-08-03 09:30:00 +03:00 |
|
shove
|
b556f1302f
|
parser: fix parse error in the type of a ref array when the element type is a structure of another mod(fix #19033) (#19039)
|
2023-08-03 09:25:03 +03:00 |
|
yuyi
|
1d9835f0e4
|
parser, cgen: fix for i++; i<10; i++ { (fix #18445) (#19035)
|
2023-08-02 10:47:52 +03:00 |
|
shove
|
b6d6d4b037
|
parser: fix improper token advancement when parsing the types of struct thread type fields(fix #19029) (#19030)
|
2023-08-01 19:10:52 +03:00 |
|
yuyi
|
367e38d7d1
|
parser: change fn_args() to fn_params() (#19027)
|
2023-08-01 07:27:53 +03:00 |
|
yuyi
|
8861538c66
|
ast, parser, fmt: implement inline comments (#19012)
|
2023-07-31 21:22:51 +03:00 |
|
Swastik Baranwal
|
8735694d13
|
parser: disallow declaring static functions as method receivers (#19007)
|
2023-07-30 06:11:11 +03:00 |
|
yuyi
|
112a1278bb
|
parser, fmt: fix formatting interface method with pre-comments (#18998)
|
2023-07-29 15:40:45 +03:00 |
|
yuyi
|
a61a2fd328
|
parser: fix for_c_stmt that init with var assign (#19004)
|
2023-07-29 15:29:35 +03:00 |
|
yuyi
|
2f2dde8ad0
|
ast, parser, fmt: fix formatting struct declaration with comments (fix #18982) (#18992)
|
2023-07-28 15:30:15 +03:00 |
|
yuyi
|
b25288338c
|
parser, fmt: fix formatting interface fields with pre-comments (fix #18980) (#18988)
|
2023-07-28 11:42:10 +03:00 |
|
Swastik Baranwal
|
c6ddbd308e
|
vet: give notice for replacing const dynamic arrays with const fixed ones (#18960)
|
2023-07-24 22:13:38 +03:00 |
|
Alexander Medvednikov
|
877e6ddc9f
|
checker: minor wording fix in an error
|
2023-07-14 12:40:23 +03:00 |
|
Felipe Pena
|
413ffbfc3b
|
v: allow alias as fixed array on return (#18817)
|
2023-07-13 11:58:49 +03:00 |
|
yuyi
|
045adb6600
|
parser: change warn to error, for const names with upper letter (fix #18838) (#18840)
|
2023-07-11 17:48:53 +03:00 |
|
Felipe Pena
|
f8e89ae91c
|
all: remove any type future implementation reference (#18822)
|
2023-07-10 10:41:06 +03:00 |
|
yuyi
|
2d838d5178
|
v: use autocasting in complex conditions (#18797)
|
2023-07-06 19:18:57 +03:00 |
|
Felipe Pena
|
8f7f2c8cf7
|
checker: fix try_pop with fixed array (#18789)
|
2023-07-06 02:34:22 +03:00 |
|
Delyan Angelov
|
d851ecffb7
|
parser: fix anonymous fns parameter checks, behaving differently than named fns (fix #18779) (#18785)
|
2023-07-06 02:30:26 +03:00 |
|
shove
|
cd6330e218
|
parser: fix compiler error when match returns reference (#18728) (#18783)
|
2023-07-05 23:28:58 +03:00 |
|
yuyi
|
44a6741bc3
|
ast, checker: change check(ast.file &ast.File) to check(mut ast.file ast.File) (#18729)
|
2023-07-02 09:41:04 +03:00 |
|
yuyi
|
5d4c2cd832
|
v: use autocasting in complex conditions (#18731)
|
2023-07-02 09:23:15 +03:00 |
|
Felipe Pena
|
89c56fb5ee
|
parser, checker: fix static method naming and generic call (#18694)
|
2023-06-28 07:07:07 +03:00 |
|
yuyi
|
3558e05bfb
|
tests: fix reflection_sym_test.v (#18574)
|
2023-06-27 10:53:35 +03:00 |
|
Alexander Medvednikov
|
21ccb9b48e
|
doc: clarify new static type methods a bit
|
2023-06-27 01:38:31 +03:00 |
|
Alexander Medvednikov
|
a9f8b5dadc
|
all: static type methods
|
2023-06-27 01:23:30 +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 |
|
Swastik Baranwal
|
0b2e947e0c
|
parser: disallow multi else branches in match (#18526)
|
2023-06-22 22:39:35 +03:00 |
|
yuyi
|
22bd1b9d55
|
ast: clean up ast.StructInit (#18518)
|
2023-06-22 16:41:08 +03:00 |
|
Turiiya
|
958e456790
|
parser: fix match for array of reference sumtype (#18487)
|
2023-06-19 18:40:17 +03:00 |
|
Turiiya
|
396d46d9ca
|
ast, builder, checker, parser: fix typos (#18480)
|
2023-06-18 22:36:17 +03:00 |
|
yuyi
|
acfe785597
|
all: clean up with is_any_kind_of_pointer() (#18467)
|
2023-06-17 14:10:06 +03:00 |
|
Louis Schmieder
|
dbd251793e
|
all: add $res compile time function to get returned value in defer block (#18382)
|
2023-06-17 14:08:50 +03:00 |
|
Turiiya
|
5d0af69bfd
|
parser: fix dump removing empty lines (#18452)
|
2023-06-16 09:45:50 +03:00 |
|
Felipe Pena
|
3e5f2541f2
|
parser: fix comments parsing on map init (#18389)
|
2023-06-10 02:28:56 +03:00 |
|
yuyi
|
01b20485c3
|
parser: fix generic function variable (#18373)
|
2023-06-08 11:42:29 +03:00 |
|
Delyan Angelov
|
c1e302a38d
|
Revert "parser: add error for typeof(T), suggesting typeof[T]() instead"
This reverts commit 692624b47c .
|
2023-06-06 12:03:55 +03:00 |
|
Delyan Angelov
|
692624b47c
|
parser: add error for typeof(T), suggesting typeof[T]() instead
|
2023-06-06 11:27:17 +03:00 |
|
Felipe Pena
|
5440657364
|
fmt: fix alias type stripped comments (#18346)
|
2023-06-05 01:53:17 +02:00 |
|
Felipe Pena
|
4e21b2ab4e
|
parser: detect wrong usage of Option as concrete type (#18334)
|
2023-06-03 13:24:25 +02:00 |
|
Felipe Pena
|
a8ea1f9d50
|
cgen, checker, parser: fix fixed array with channel (#18315)
|
2023-06-02 10:55:08 +03:00 |
|
Felipe Pena
|
f430c0b67a
|
parser: fix for select parsing (#18306)
|
2023-05-30 14:22:47 +02:00 |
|
Alexander Medvednikov
|
f8422738bb
|
vfmt: no longer replace go with spawn
|
2023-05-28 16:03:39 +02:00 |
|
Alexander Medvednikov
|
45f16a2640
|
all: coroutines (part 1)
|
2023-05-27 23:33:46 +02:00 |
|
Felipe Pena
|
16ef1d95fb
|
cgen: fix fixed array ret with anon fn (#18279)
|
2023-05-27 20:42:31 +02:00 |
|