Alexander Medvednikov
|
d6de53362f
|
checker: improve unused label check
|
2022-07-23 01:36:27 +03:00 |
|
Alexander Medvednikov
|
4d3401c852
|
checker: check for unused labels
|
2022-07-23 01:25:20 +03:00 |
|
Alexander Medvednikov
|
af41058979
|
doc: map ordering
|
2022-07-23 00:53:42 +03:00 |
|
Reuben Thomas
|
2ffad85f06
|
doc: remove misleading comment about stdin() (#15154)
|
2022-07-23 00:22:50 +03:00 |
|
yuyi
|
b0c32e0dbf
|
checker: fix fn variadic with enum value (#15177)
|
2022-07-22 16:08:22 +03:00 |
|
yuyi
|
092f5f0bf8
|
checker: fix comptime if in const declaration (fix #15160) (#15169)
|
2022-07-22 16:03:45 +03:00 |
|
zakuro
|
9ec8a99243
|
parser: cleanup orblock duplicate code (#15173)
|
2022-07-22 12:36:50 +03:00 |
|
Delyan Angelov
|
e9809572b1
|
ast: use const empty_expr instead of fn empty_expr (thanks to Joe Conigliaro for the idea) (#15175)
|
2022-07-22 12:14:46 +03:00 |
|
Delyan Angelov
|
c6aea659e3
|
cgen,ci: fix v -usecache self on macos
|
2022-07-22 11:43:20 +03:00 |
|
Delyan Angelov
|
f75d7eb114
|
ci: fix v build-examples (use voidptr(u64(0)) inside vlib/js/dom/dom.js.v)
|
2022-07-21 23:08:18 +03:00 |
|
Delyan Angelov
|
5340f8afea
|
ci: fix vlib/v/checker/tests/nil.vv and its .out file
|
2022-07-21 23:05:02 +03:00 |
|
Delyan Angelov
|
474033c055
|
ci: allow unsafe { a := nil } , add separate nil case in pointer_ops.vv, to test the nil checker errors independently from the voidptr ones
|
2022-07-21 22:52:38 +03:00 |
|
Delyan Angelov
|
697d546d46
|
ci: fix fixed_array_conv.out output (the .vv file was formatted)
|
2022-07-21 22:45:54 +03:00 |
|
Delyan Angelov
|
cf42ba2b80
|
ci: revert nil to voidptr(u64(0)) in voidptr_dereference_err.vv too. nil should have its own .vv/.out pair.
|
2022-07-21 22:43:14 +03:00 |
|
Delyan Angelov
|
cdefb878d6
|
ci: make pass_voidptr_as_interface_reference_test.v use voidptr again
|
2022-07-21 22:41:27 +03:00 |
|
Delyan Angelov
|
2e89eeb477
|
ci: make voidptr_casted_as_an_interface_test.v use voidptr again (it does test exactly that edge case, it should not have been converted to use nil)
|
2022-07-21 22:40:21 +03:00 |
|
Delyan Angelov
|
71cd256f0c
|
ci,cgen: fix -usecache compilation of V itself
|
2022-07-21 22:29:44 +03:00 |
|
Delyan Angelov
|
73b02cdf36
|
ci: fix spurious native_backend_tests.yml cancellations
|
2022-07-21 22:13:21 +03:00 |
|
Delyan Angelov
|
81104ac309
|
ci: fix v test-cleancode failures
|
2022-07-21 22:05:17 +03:00 |
|
Delyan Angelov
|
231623b75b
|
ci: vfmt tcp_test.v
|
2022-07-21 22:04:51 +03:00 |
|
Delyan Angelov
|
dc1b54c669
|
ci: fix failing ./v vlib/builtin/builtin_test.v (globals initialisation)
|
2022-07-21 21:49:00 +03:00 |
|
Delyan Angelov
|
ed43bfc469
|
ci: fix dlmalloc again (workaround vfmt)
|
2022-07-21 21:21:20 +03:00 |
|
Delyan Angelov
|
e29f6d1393
|
markused: fix ./v -skip-unused -cc gcc -keepc -freestanding -o bel vlib/os/bare/bare_example_linux.v
|
2022-07-21 21:18:33 +03:00 |
|
Delyan Angelov
|
d9fe2edc41
|
ci: fix failing build-module-docs (because of unsafe { unsafe { nil } } )
|
2022-07-21 21:11:43 +03:00 |
|
Delyan Angelov
|
6ebe668a74
|
tools: show the exact failing c2v command on v translate failure for easier diagnostic/debugging.
|
2022-07-21 21:04:06 +03:00 |
|
Alexander Medvednikov
|
9099594a49
|
all: wrap up unsafe { nil } (p. 3)
|
2022-07-21 21:01:30 +03:00 |
|
Alexander Medvednikov
|
a68d03ac59
|
checker: allow x := unsafe { nil }
|
2022-07-21 20:56:24 +03:00 |
|
Alexander Medvednikov
|
dc79f1392b
|
all: voidptr(0) => unsafe { nil } (p.2)
|
2022-07-21 20:51:54 +03:00 |
|
Alexander Medvednikov
|
1f25811786
|
roadmap: update
|
2022-07-21 20:47:30 +03:00 |
|
Alexander Medvednikov
|
caa0c2f153
|
vfmt: voidptr(0) => unsafe { nil } (p.1)
|
2022-07-21 20:46:01 +03:00 |
|
yuyi
|
be9f8cc777
|
cgen: fix comptime if in struct field default (fix #15058) (#15152)
|
2022-07-21 16:59:18 +03:00 |
|
yuyi
|
7029e39088
|
checker: check struct field with default expression (#15151)
|
2022-07-21 10:33:34 +03:00 |
|
Joe Conigliaro
|
49228e1acd
|
cgen: fix dep cycle for struct Node { children [4]&Node } closes #15136
|
2022-07-21 16:16:24 +10:00 |
|
Delyan Angelov
|
8593408179
|
json.cjson: add a submodule that allows lower level access to the cJSON library (constructing JSON trees in memory with null leafs).
|
2022-07-20 23:34:17 +03:00 |
|
Hitalo de Jesus do Rosário Souza
|
c8d4534f5b
|
sqlite: remove spurious eprintln on select calls (#15139)
|
2022-07-20 17:35:38 +03:00 |
|
Ned
|
57a201f28c
|
tools: add helpful message, when the vls server executable is not found on v ls (#15129)
|
2022-07-20 14:26:49 +03:00 |
|
kahsa
|
9995063304
|
doc: add a go fn() {} example (#15134)
|
2022-07-20 14:24:13 +03:00 |
|
yuyi
|
f27c0387ad
|
cgen: minor cleanup in global_decl() (#15133)
|
2022-07-20 13:51:33 +03:00 |
|
Delyan Angelov
|
ee4a179e71
|
tests: add a test for Node{123, unsafe { nil }, unsafe { nil }}
|
2022-07-20 11:29:01 +03:00 |
|
Delyan Angelov
|
50075d5a79
|
ast,cgen: support a := Abc{unsafe{nil}} , for struct Abc { next &Abc }
|
2022-07-20 10:47:04 +03:00 |
|
Fossean1
|
1ccb4c3ac0
|
doc: minor fixes in examples (#15125)
|
2022-07-19 20:59:59 +03:00 |
|
Hitalo de Jesus do Rosário Souza
|
a13b8ff0c8
|
mysql: fix for adapting mysql types to v structs (#15100)
|
2022-07-19 18:29:09 +03:00 |
|
yuyi
|
041e90b2e2
|
checker, cgen: fix interface embedding smartcast (fix #13296) (#15127)
|
2022-07-19 16:36:16 +03:00 |
|
Alexander Medvednikov
|
0afa2f76c8
|
ci: fix gitly ci
|
2022-07-19 13:53:05 +03:00 |
|
Alexander Medvednikov
|
fd47385ff2
|
checker: check untyped nil in assignment
|
2022-07-19 13:31:10 +03:00 |
|
Alexander Medvednikov
|
1aeca113d3
|
sokol: do not crash if an image cannot be rendered
|
2022-07-19 13:21:34 +03:00 |
|
SakthiMahendran
|
e4674cb8e1
|
examples: replace "resp.text" with "resp.body". (#15123)
|
2022-07-19 12:52:42 +03:00 |
|
yuyi
|
a39fe68af1
|
cgen: clean up ident() in cgen.v (#15121)
|
2022-07-19 10:54:03 +03:00 |
|
Ned
|
c7ec71cd06
|
tools/vls: skip 'ls' argument on v ls (#15126)
|
2022-07-19 10:52:39 +03:00 |
|
Larpon
|
02925cecd1
|
ci: fix report-missing-fn-doc (#15118)
|
2022-07-18 22:33:18 +03:00 |
|