Commit Graph

12939 Commits (bf954cc9bc328cbd9b23eb1377d15bbb3433188e)

Author SHA1 Message Date
yuyi 81a178ee8d
checker, cgen: use 'stmts.last()' instead of 'stmts[stmts.len - 1]' (#14105) 2022-04-21 10:34:34 +02:00
yuyi 9abf3a62c0
checker: fix error for fn with multi return (#14095) 2022-04-21 10:34:34 +02:00
yuyi f7dbbba7ae
checker: fix error for assign array of aliases (#14096) 2022-04-21 10:34:33 +02:00
Alexander Medvednikov fac15fb862
builtin: define C.abs() 2022-04-21 10:34:33 +02:00
Isaiah ae3906141d
vpm: fix get_all_modules() (#14097) 2022-04-21 10:34:33 +02:00
yuyi 9c7da323f1
checker: check error for arguments of array.contains() (#14102) 2022-04-21 10:34:33 +02:00
playX 9c9b50933c
v.util: add math to builtin_module_names (temporary fix for C2V) (#14100) 2022-04-21 10:34:33 +02:00
playX 0065dba88a
checker: c2v fixes (#14091) 2022-04-21 10:34:33 +02:00
Delyan Angelov f3ce968124
sync: use #insert for atomic.h, so that bootstrapping can be simplified 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
Jef Roosens 32d7ae7835
Made publish curl's failable
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-04-19 12:42:44 +02:00
yuyi 168531d4e0
examples: fix optional in string interpolation and format error (#14079) 2022-04-19 12:42:44 +02:00
yuyi 1660be910d
token: minor cleanup of token.v (#14083) 2022-04-19 12:42:44 +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
yuyi 77593d6c68
cgen: minor cleanup of infix_expr.v (#14070) 2022-04-19 12:42:43 +02:00
Delyan Angelov cc3740fda6
ci: update windows-install-sqlite.bat to latest sqlite 2022-04-19 12:42:43 +02:00
yuyi 0d4d4ffc2d
ast, checker, cgen: fix aggregations type check (#14066) 2022-04-19 12:42:43 +02:00
spaceface 090a9755db
builtin: compile the gc statically by default (#14063) 2022-04-19 12:42:43 +02:00
Jef Roosens 761ed28bb4
Fixed typo in ci config [CI SKIP] 2022-04-18 10:28:04 +02:00
Jef Roosens 07cab64d12
Added PKGBUILD & CI step for deploying packages
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-04-18 10:27:07 +02:00
Jef Roosens 92ad025d40
Corrected GNUmakefile as well [CI SKIP] 2022-04-17 18:31:46 +02:00
Jef Roosens 38cceeafe5
Verify ssh keys; stop building for armv7
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-04-17 18:05:06 +02:00
Jef Roosens 56597ba354
Please just work
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 18:01:01 +02:00
Jef Roosens 01b9d033d8
Perhaps some more quoting issues
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:54:48 +02:00
Jef Roosens 5833d5e9c2
Clone using ssh url instead
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:49:25 +02:00
Jef Roosens 1529b6a3f6
Merged build & gen-vc
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:46:16 +02:00
Jef Roosens 18ef6e4a31
Main instead of master
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:43:54 +02:00
Jef Roosens 31ff4c32ed
Commit to awake ci
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:38:51 +02:00
Jef Roosens a05a3a9fdb
Some more quoting 2022-04-17 17:35:30 +02:00
Jef Roosens 31566d784c
Once again, we need git
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:31:07 +02:00
Jef Roosens f23e273f3d
Why is git not in build-essential gosh
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:29:32 +02:00
Jef Roosens 5618916a67
Install build-essential for compiler build
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:28:39 +02:00
Jef Roosens d0d1f60c7f
Perhaps quote the square brackets?
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:26:12 +02:00
Jef Roosens 5c27361e15
There's so many bugs in this yaml 2022-04-17 17:19:03 +02:00
Jef Roosens 1beedc54f4
Fixed dockerfile; hopefully implemented vc ci routine 2022-04-17 17:15:39 +02:00
Ikko Ashimine 186c056a46
io: fix typo in readerwriter.v (#14060)
ci/woodpecker/push/woodpecker Pipeline failed Details
seperate -> separate
2022-04-17 16:52:49 +02:00
yuyi f33bccc111
checker, cgen: minor cleanup of last expr stmt expression (#14057) 2022-04-17 16:52:49 +02:00
yuyi 5e98ea12c8
checker, cgen: fix error for if expr with generic sumtype (#14056)
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 12:14:33 +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
Vincenzo Palazzo 9528a89b17
ci: reformatted tools/vcreate.v (#14054)
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2022-04-17 12:14:33 +02:00
Cameron Katri a286129f4a
vcreate: Allow custom default license (#14046) 2022-04-17 12:14:33 +02:00
Delyan Angelov 53fde9c812
v.util: always compile vfmt with `-d vfmt` to enable more efficient parsing 2022-04-17 12:14:33 +02:00
Julien de Carufel 72a7c19f83
cgen: fix infix generics bug (#14048) 2022-04-17 12:14:33 +02:00
Alexander Medvednikov e65f602a4f
doc: byte => u8 2022-04-17 12:14:32 +02:00
Delyan Angelov 2d9d4f86a8
v.pref: show the VCROSS_COMPILER_NAME notice only when the output is not a .c file 2022-04-17 12:14:32 +02:00
Delyan Angelov 0fd92699e7
ci: add test_byte_vs_u8 to int_test.v 2022-04-17 12:14:32 +02:00
Delyan Angelov 807038be66
ci: fix typeof_simple_types_test.v 2022-04-17 12:14:32 +02:00