Delyan Angelov
|
ff02e5667b
|
checker: add a suggestion for misspelled mod.const_name + a test
|
2022-05-17 10:03:12 +02:00 |
spaceface
|
ec2346d45c
|
checker,gen: allow using methods as function pointers (#14407)
|
2022-05-17 10:03:11 +02:00 |
crthpl
|
82018034ef
|
checker,cgen: fix if expressions in lock expression (#14384)
|
2022-05-17 10:03:11 +02:00 |
j. redhead
|
9abaadb690
|
checker: fix optionals in infix expression check (fix #14354) (#14390)
|
2022-05-17 10:03:10 +02:00 |
yuyi
|
870ed86afc
|
checker, cgen: fix generic fn with array and fixed array arguments (#14385)
|
2022-05-13 10:10:39 +02:00 |
Daniel Däschle
|
54bbc00493
|
fmt: remove space in front of ? and ! (#14366)
|
2022-05-13 10:10:39 +02:00 |
yuyi
|
d09c84f46f
|
checker: check error for generic sumtype types (#14374)
|
2022-05-13 10:10:39 +02:00 |
Delyan Angelov
|
f77085e34f
|
checker: fix a compiler panic on `fntest()?(&int,&int){return test()?}`
|
2022-05-13 10:10:38 +02:00 |
yuyi
|
a8dceb74ec
|
checker: check error for cast function to string (#14375)
|
2022-05-13 10:10:38 +02:00 |
yuyi
|
d2eef45612
|
checker: check generic sumtype declare error (#14367)
|
2022-05-13 10:10:38 +02:00 |
yuyi
|
fba29f1bb1
|
checker: check error for returning aliases of fixed array (#14349)
|
2022-05-13 10:10:37 +02:00 |
StunxFS
|
2cc8cb64aa
|
parser,checker: support `$compile_error('message')` and `$compile_warn('message')` (#14320)
|
2022-05-13 10:10:37 +02:00 |
StunxFS
|
f27d95560e
|
checker: check error for `json.decode` (fix #6732) (#14305)
|
2022-05-08 14:03:59 +02:00 |
yuyi
|
7b6db1b15f
|
ast, checker, cgen: fix error for generic method with generic fn type argument (fix #14239) (#14333)
|
2022-05-08 14:03:59 +02:00 |
yuyi
|
055af924d9
|
checker: check for optional argument in dump() (#14316)
|
2022-05-08 14:03:55 +02:00 |
yuyi
|
41857b0acf
|
checker: check error for fn call argument mismatch (fix #14280) (#14283)
ci/woodpecker/push/vc Pipeline was successful
Details
ci/woodpecker/push/docker Pipeline was successful
Details
ci/woodpecker/push/arch Pipeline was successful
Details
|
2022-05-04 11:52:32 +02:00 |
yuyi
|
010ace62e1
|
checker, cgen: check comptime selector that has no field name (#14282)
|
2022-05-04 11:52:32 +02:00 |
yuyi
|
f9c4cbdb15
|
checker: check argument mismatch of array.filter/all/any() (#14273)
|
2022-05-04 11:52:32 +02:00 |
yuyi
|
f4586b1577
|
parser: make sure interface field names use uppercase letters (#14228)
|
2022-04-30 16:26:27 +02:00 |
Daniel Däschle
|
85cb0a8c85
|
all: basic implementation of result type (#14140)
|
2022-04-30 16:26:27 +02:00 |
StunxFS
|
3e4834aebf
|
checker: check for reserved type names in `for in` (fix #14072) (#14212)
|
2022-04-30 16:26:27 +02:00 |
yuyi
|
2109a6a85c
|
parser: check interface methods name (fix #14217) (#14218)
|
2022-04-29 21:38:24 +02:00 |
yuyi
|
d1a0ac26fd
|
checker: check struct field name using uppercase letters (#14220)
|
2022-04-29 21:38:24 +02:00 |
yuyi
|
bf75a873b5
|
checker: check error in for_c_stmt with optional call (#14190)
|
2022-04-29 21:38:22 +02:00 |
yuyi
|
549735fbff
|
checker: check error for array.index() argument (#14147)
|
2022-04-25 19:07:31 +02:00 |
Nick Treleaven
|
13902a827b
|
checker: error if smaller signed == unsigned (#14078)
|
2022-04-25 19:07:30 +02:00 |
yuyi
|
0b7c3a6035
|
checker: simplify checking array.contains() argument (#14133)
|
2022-04-25 19:07:28 +02:00 |
Delyan Angelov
|
34961a23b4
|
ast: allow `a := match x { 101 { ... for {...} ... y }`
|
2022-04-25 19:07:26 +02:00 |
yuyi
|
eca95dcedc
|
checker: check array builtin method's arguments (#14119)
|
2022-04-25 19:07:26 +02:00 |
yuyi
|
8824f5f103
|
checker: check map builtin method's arguments (#14120)
|
2022-04-25 19:07:26 +02:00 |
mjh
|
43e810024c
|
datatypes: fix bst child access, when .root is 0 (#14080)
|
2022-04-21 10:34:34 +02:00 |
yuyi
|
9c7da323f1
|
checker: check error for arguments of array.contains() (#14102)
|
2022-04-21 10:34:33 +02:00 |
Delyan Angelov
|
b03aa06152
|
checker, cgen: add support for #insert, to simplify bootstrapping V
|
2022-04-21 10:34:33 +02:00 |
JalonSolov
|
43efdd464e
|
checker: fix error message when number of generic parameters is incorrect (#14090)
|
2022-04-21 10:34:33 +02:00 |
yuyi
|
33005becf1
|
checker: check fn return type mismatch (#14081)
|
2022-04-19 12:42:44 +02:00 |
Nick Treleaven
|
f291e5fdd8
|
checker: Revert part of small_unsigned == signed (#13967) (#14075)
`gcc -W` doesn't error for e.g. u16 == i32, only for u32 == i16.
Any u16 value can fit in an i32.
|
2022-04-19 12:42:43 +02:00 |
yuyi
|
898167f986
|
checker: check error for fn decl with optional arguments (#14076)
|
2022-04-19 12:42:43 +02:00 |
Vincenzo Palazzo
|
9f9d24d616
|
checker: ensure that the variant SubType exists (#14053)
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
|
2022-04-17 12:14:33 +02:00 |
Delyan Angelov
|
cb6d94bb47
|
checker: fix tests (adjust byte to u8 in .out files too)
|
2022-04-17 12:14:30 +02:00 |
Alexander Medvednikov
|
de310491bb
|
tests: use u8 everywhere
|
2022-04-17 12:14:29 +02:00 |
Nick Treleaven
|
c780de6282
|
checker: disallow 'small_unsigned == signed' (#13967)
|
2022-04-12 19:37:30 +03:00 |
yuyi
|
fa66183f43
|
checker: check error for map of generic struct init (#13999)
|
2022-04-11 10:07:23 +03:00 |
yuyi
|
93a5d03182
|
parser: improve embedded struct parsing/better error for `Architecture []string` (#13995)
|
2022-04-10 10:24:36 +03:00 |
yuyi
|
473bc0254d
|
checker: check error for array of generic struct init (#13987)
|
2022-04-09 21:50:34 +03:00 |
Vincenzo Palazzo
|
2d867a2766
|
ast: fix reported errors, when arrays of types defined in modules are involved (#13952)
|
2022-04-08 17:38:34 +03:00 |
Alexander Medvednikov
|
cc227d8520
|
checker: fix non-numeric type check for translated code
|
2022-04-04 04:59:14 +03:00 |
Delyan Angelov
|
44603f8e59
|
checker: add suggestions for misspelled `mod.func_name()` calls
|
2022-04-03 20:07:52 +03:00 |
Vincenzo Palazzo
|
d7817863c6
|
checker: type inference over a generic type should compile (#13824)
|
2022-04-01 19:31:27 +03:00 |
Delyan Angelov
|
cc637e5ee8
|
checker: make the misssing shared/mut modifer in fn and method calls error clearer
|
2022-03-30 01:45:40 +03:00 |
yuyi
|
fd34ebd84e
|
checker: check the count of generics in fn arguments (#13855)
|
2022-03-29 10:04:19 +03:00 |