Commit Graph

20 Commits (efc5cab8c32576590d95599b1fcf3775a00e2ed0)

Author SHA1 Message Date
Daniel Däschle efc5cab8c3
checker,cgen: allow result if guard (#14474) 2022-05-20 19:34:53 +03:00
crthpl 95d24e543d
checker, cgen: fix shared non-decl assignment (#14466) 2022-05-20 02:58:11 +03:00
yuyi 990afe37e1
checker: fix a bug in generics array init (#14258) 2022-05-02 16:18:33 +03:00
Alexander Medvednikov 78cb6e2b41 all: handle fixed []u8 2022-04-15 18:35:56 +03:00
yuyi fa66183f43
checker: check error for map of generic struct init (#13999) 2022-04-11 10:07:23 +03:00
yuyi 473bc0254d
checker: check error for array of generic struct init (#13987) 2022-04-09 21:50:34 +03:00
yuyi ac1b31dbba
checker: fix error for array of interface init in for_in (#13636) 2022-03-03 12:32:55 +02:00
yuyi efeb3e04da
ast: add table.is_sumtype_or_in_variant() (#13615) 2022-02-28 11:38:20 +03:00
yuyi d30ad344e8
checker: check error for array of sumtype appendding (#13593) 2022-02-24 11:07:03 +02:00
yuyi 14073ac0fe
checker: fix error for array of sumtype init (#13501) 2022-02-18 11:47:24 +02:00
Tim Basel 9d0a5942ac
builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
yuyi 3bd528b218
ast, checker, cgen: fix error for map sumtype value init (#13290) 2022-01-27 09:44:34 +02:00
yuyi 291a1ffd8d
token: rename Position to Pos, rename position() to pos() (#13279) 2022-01-26 12:36:28 +02:00
yuyi d553071e65
parser, checker: correct error message for a fixed array size using a non constant (fix #13219) (#13228) 2022-01-20 13:03:19 +02:00
yuyi dfc23d939f
ast, checker, cgen: fix array of sumtype initialisation with a default `init:` (#13178) 2022-01-15 09:59:38 +02:00
yuyi 02f791d9fe
checker: fix returning optional empty map (#13113) 2022-01-10 09:12:46 +02:00
yuyi 0ac450927c
checker: check array init with a void type value (#13106) 2022-01-09 16:53:37 +02:00
yuyi 6c1ae4f689
ast: simplify mktyp() (#13028) 2022-01-04 18:37:18 +02:00
Alexander Medvednikov 59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
yuyi 64f1ea6fe9
checker: extract containers.v, struct.v, for.v from checker.v (#13012) 2022-01-02 15:52:19 +02:00