yuyi
|
a3c0a9b791
|
checker: minor optimization in fn_call() and method_call() (#14503)
|
2022-05-23 08:00:57 +03:00 |
Alexander Medvednikov
|
863eeca2e0
|
checker: vfmt checker.v
|
2022-05-23 00:12:37 +03:00 |
Daniel Däschle
|
5e95bdc451
|
checker: allow but deprecate propagating result as option (#14500)
|
2022-05-23 00:11:29 +03:00 |
yuyi
|
7f03b89611
|
checker: check method call argument type mismatch (#14496)
|
2022-05-22 22:16:46 +03:00 |
yuyi
|
1f3336c9d3
|
checker: fix map get anon fn value with mut argument (fix #14479) (#14493)
|
2022-05-22 16:28:53 +03:00 |
Alexander Medvednikov
|
245d28d57a
|
checker: c2v infix fix
|
2022-05-22 14:53:21 +03:00 |
Daniel Däschle
|
efc5cab8c3
|
checker,cgen: allow result if guard (#14474)
|
2022-05-20 19:34:53 +03:00 |
Vincenzo Palazzo
|
17bba712bd
|
checker: ban unsafe pointer/fn comparison (#14462)
|
2022-05-20 18:30:16 +03:00 |
yuyi
|
28b0cbddad
|
parser: check error for script mode that define main function (fix #14467) (#14469)
|
2022-05-20 14:20:18 +03:00 |
crthpl
|
95d24e543d
|
checker, cgen: fix shared non-decl assignment (#14466)
|
2022-05-20 02:58:11 +03:00 |
Daniel Däschle
|
a52fbc5e51
|
checker: forbid optional variable (#14460)
|
2022-05-19 16:04:44 +03:00 |
yuyi
|
5b96f7e8fd
|
checker: split up infix.v from checker.v (#14449)
|
2022-05-18 14:52:53 +03:00 |
Delyan Angelov
|
f2447a4bd8
|
tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/
|
2022-05-18 13:39:57 +03:00 |
Larpon
|
9de0c725f6
|
checker: add test for empty #flag node, (fix #14291) (#14447)
|
2022-05-18 13:38:58 +03:00 |
playX
|
a608516b82
|
checker: c2v fixed array fix (#14436)
|
2022-05-18 02:35:05 +03:00 |
yuyi
|
d7b1e57186
|
v.builder: improve builder error messages (fix #14386) (#14421)
|
2022-05-17 12:12:20 +03:00 |
playX
|
7c6eaa8204
|
checker: allow to use [n]anyptr as [n]otherptr in check_types (c2v fix) (#14433)
|
2022-05-17 11:55:04 +03:00 |
Delyan Angelov
|
78ab3296c9
|
checker: fix orm bug, when a joined table field context replaced the original table field context
|
2022-05-17 11:45:17 +03:00 |
playX
|
bc397bb0e1
|
checker: c2v array fix (#14426)
|
2022-05-17 00:08:41 +03:00 |
Delyan Angelov
|
32dd801201
|
checker: apply fix for ui suggested by spaceface
|
2022-05-16 21:33:02 +03:00 |
Delyan Angelov
|
9cb8bb2968
|
Revert "Revert "checker: allow using methods as vars when expecting a ctx arg (#14414)""
This reverts commit e5c7fe3006 .
|
2022-05-16 21:29:47 +03:00 |
Delyan Angelov
|
e5c7fe3006
|
Revert "checker: allow using methods as vars when expecting a ctx arg (#14414)"
This reverts commit 36bec823c2 .
|
2022-05-16 14:19:33 +03:00 |
spaceface
|
36bec823c2
|
checker: allow using methods as vars when expecting a ctx arg (#14414)
|
2022-05-16 12:05:08 +03:00 |
Delyan Angelov
|
1cf683d482
|
checker: add a suggestion for misspelled mod.const_name + a test
|
2022-05-16 10:29:58 +03:00 |
spaceface
|
c01a8a1737
|
checker,gen: allow using methods as function pointers (#14407)
|
2022-05-15 18:28:37 +03:00 |
crthpl
|
e4065bd57b
|
checker,cgen: fix if expressions in lock expression (#14384)
|
2022-05-15 12:31:07 +03:00 |
j. redhead
|
441637eeb4
|
checker: fix optionals in infix expression check (fix #14354) (#14390)
|
2022-05-14 00:54:49 +03:00 |
playX
|
6ec4185017
|
checker: allow to pass alias to array as a pointer (c2v) (#14389)
|
2022-05-13 10:17:28 +03:00 |
yuyi
|
3c95504a35
|
checker, cgen: fix generic fn with array and fixed array arguments (#14385)
|
2022-05-13 06:57:48 +03:00 |
Daniel Däschle
|
d679146a80
|
fmt: remove space in front of ? and ! (#14366)
|
2022-05-13 06:56:21 +03:00 |
Delyan Angelov
|
8ef9dc6247
|
ci: run `v fmt -w vlib/v/checker/fn.v` (fix CI regression after 4952967 )
|
2022-05-12 21:24:12 +03:00 |
Hunam
|
20139ad756
|
checker: fix typo (#14368)
|
2022-05-12 12:23:32 +03:00 |
playX
|
4952967366
|
checker: alias C2V fix (#14377)
|
2022-05-12 12:19:31 +03:00 |
yuyi
|
f48f7014f0
|
checker: check error for generic sumtype types (#14374)
|
2022-05-12 11:57:57 +03:00 |
Delyan Angelov
|
b7ca4c1668
|
checker: fix a compiler panic on `fntest()?(&int,&int){return test()?}`
|
2022-05-12 11:36:32 +03:00 |
yuyi
|
5bc4fea9e0
|
checker: check error for cast function to string (#14375)
|
2022-05-12 10:04:38 +03:00 |
yuyi
|
cd4fa041ff
|
checker: check generic sumtype declare error (#14367)
|
2022-05-11 17:39:58 +03:00 |
yuyi
|
8f765ed5f1
|
checker: minor cleanup and speedups in fn_call() (#14343)
|
2022-05-10 16:41:47 +03:00 |
yuyi
|
606d8cfaca
|
checker: check error for returning aliases of fixed array (#14349)
|
2022-05-10 14:01:55 +03:00 |
yuyi
|
940c78bdfd
|
checker: minor cleanup in method_call() (#14342)
|
2022-05-09 18:01:44 +03:00 |
StunxFS
|
d24dce8eb3
|
parser,checker: support `$compile_error('message')` and `$compile_warn('message')` (#14320)
|
2022-05-09 08:18:26 +03:00 |
yuyi
|
8519996201
|
checker: fix error for match sumtype that referenced before (#14338)
|
2022-05-09 07:32:51 +03:00 |
StunxFS
|
d5e70552eb
|
checker: check error for `json.decode` (fix #6732) (#14305)
|
2022-05-08 07:17:11 +03:00 |
yuyi
|
b04d46770b
|
ast, checker, cgen: fix error for generic method with generic fn type argument (fix #14239) (#14333)
|
2022-05-07 20:22:20 +03:00 |
Alexander Medvednikov
|
ca42ace367
|
Revert "checker: remove more unnecessary `void` errors"
This reverts commit 89c1e7f980 .
|
2022-05-07 11:03:12 +03:00 |
playX
|
6a6c005dc0
|
checker: c2v fixes (#14332)
|
2022-05-07 09:50:41 +03:00 |
Alexander Medvednikov
|
89c1e7f980
|
checker: remove more unnecessary `void` errors
|
2022-05-07 09:09:18 +03:00 |
yuyi
|
621574c12a
|
checker: fix error for generic method on nested struct (#14322)
|
2022-05-07 00:51:04 +03:00 |
Hunam
|
0699f324b5
|
builtin: add `map.values()` (#14301)
|
2022-05-06 20:42:01 +03:00 |
Daniel Däschle
|
76cdf75299
|
builtin,cgen: rename `Option` to `_option` (#14317)
|
2022-05-06 19:25:54 +03:00 |