Enzo
|
a02593204f
|
checker: forbid aliasing an alias (#6118)
|
2020-08-16 04:53:16 +02:00 |
|
Vinicius Rangel
|
bf065674cc
|
json: maps, memory leak, and error forwarding (#6116)
|
2020-08-16 02:30:37 +02:00 |
|
Delyan Angelov
|
e7b2aefd36
|
v.pref: handle | as separators in -path option parsing again (as documented in the help)
|
2020-08-15 22:09:40 +03:00 |
|
Uwe Krüger
|
c2b4c645a1
|
sync/channels: document more benchmark results (#6135)
|
2020-08-15 11:20:51 +02:00 |
|
Nick Treleaven
|
0f0a91fc9e
|
parser: support custom fixed size ArrayInit: [3]int{init: -1} (#6114)
|
2020-08-15 11:01:54 +02:00 |
|
spaceface777
|
5f3ced7213
|
builder: only include os when building .vsh files (#6134)
|
2020-08-14 21:57:32 +02:00 |
|
Uwe Krüger
|
9602a25a0b
|
all: add builtin channel type chan elem_type (#6126)
|
2020-08-14 21:18:42 +02:00 |
|
Nick Treleaven
|
75212f9fab
|
cgen: error if ForInStmt is not handled (#6131)
|
2020-08-14 21:01:43 +02:00 |
|
Daniel Däschle
|
b2fee21ef3
|
checker: check struct casting (#5864)
|
2020-08-14 14:57:08 +02:00 |
|
Nick Treleaven
|
6016f28171
|
cgen: fix assigning ArrayInit to fixed array: a = [3]int (#6115)
|
2020-08-14 13:57:00 +02:00 |
|
Nick Treleaven
|
078ab47a9a
|
cgen: support == , != on FixedArray (#6119)
|
2020-08-14 02:03:38 +02:00 |
|
Delyan Angelov
|
2ad2b4c5ba
|
vweb: add more tests. Fix missing Content-Length: header bug on 404.
|
2020-08-14 02:49:15 +03:00 |
|
Delyan Angelov
|
712f4bd7f8
|
vweb: add tests
|
2020-08-14 00:52:02 +03:00 |
|
Alexander Medvednikov
|
fc1f41fc84
|
checker: fix a string error test
|
2020-08-13 23:33:18 +02:00 |
|
Alexander Medvednikov
|
88cde776e7
|
checker: more clear string error
|
2020-08-13 23:21:15 +02:00 |
|
Delyan Angelov
|
8580a0bcd7
|
cgen: run vfmt to silence ./v fmt -verify
|
2020-08-13 21:22:52 +03:00 |
|
Delyan Angelov
|
a62307f711
|
vweb: fix body appending (missing closing json bracket)
|
2020-08-13 21:07:31 +03:00 |
|
Daniel Däschle
|
64e8125807
|
cgen: fixe calling anon fn asynchronously (closes #6088) (#6121)
|
2020-08-13 20:06:56 +02:00 |
|
Daniel Däschle
|
34b28cb68a
|
fmt: fix anon fn call (#6120)
|
2020-08-13 20:05:59 +02:00 |
|
Delyan Angelov
|
1135dffe2d
|
cgen: prevent generation of duplicate interface method wrappers
|
2020-08-13 20:56:58 +03:00 |
|
spaceface777
|
2353814821
|
vweb: fix body size calculation (#6122)
|
2020-08-13 20:55:33 +03:00 |
|
Delyan Angelov
|
da7adb5b1b
|
ci: fix failing tests for compiler_errors_test.v
|
2020-08-13 13:16:41 +03:00 |
|
Delyan Angelov
|
fd5a76a8ad
|
ci: fail compiler_errors_test.v, when at least one of all the parser/checker tests failed
|
2020-08-13 12:57:16 +03:00 |
|
Delyan Angelov
|
1a96bcf405
|
ci: fix v vet filtering
|
2020-08-12 20:34:13 +03:00 |
|
Alexander Medvednikov
|
f8be2110ec
|
sort: fix sorting by struct fields
|
2020-08-12 18:43:41 +02:00 |
|
Alexander Medvednikov
|
e5e31f7210
|
sort: handle .sort(a.field > b.field)
|
2020-08-12 06:11:40 +02:00 |
|
Alexander Medvednikov
|
4bc0dde413
|
all: new .sort(a < b) syntax
|
2020-08-12 05:54:51 +02:00 |
|
Alexander Medvednikov
|
9800cf1e7b
|
checker: improve array errors; gg: remove unused imports
|
2020-08-12 03:54:17 +02:00 |
|
Uwe Krüger
|
bb93bf34ec
|
sync/semaphores: use dispatch semaphores on MacOS (#6110)
|
2020-08-12 03:45:09 +02:00 |
|
Delyan Angelov
|
ca7a64a451
|
cgen: add support for -g again
|
2020-08-12 02:05:45 +03:00 |
|
Uwe Krüger
|
433610b5c0
|
sync/channels: provide .cap and .len() (#6104)
|
2020-08-11 17:52:13 +02:00 |
|
Swastik Baranwal
|
9fdb1701e0
|
checker: add a check for str[i] = a (#6107)
|
2020-08-11 17:41:54 +02:00 |
|
Alexander Medvednikov
|
99798b83b4
|
parser: fix match/else check
|
2020-08-11 17:30:37 +02:00 |
|
Alexander Medvednikov
|
c5aa2bfa51
|
tests: fix a match test
|
2020-08-11 16:26:52 +02:00 |
|
Alexander Medvednikov
|
1a9dba0005
|
checker: make << shifts work with custom number types
|
2020-08-11 01:05:34 +02:00 |
|
Alexander Medvednikov
|
2dd82748e0
|
checker: simplify << error message
|
2020-08-11 01:01:33 +02:00 |
|
Alexander Medvednikov
|
6d72209363
|
checker: minor c2v fixes
|
2020-08-11 00:51:15 +02:00 |
|
Alexander Medvednikov
|
11113e43e7
|
checker: a minor perf fix
|
2020-08-10 23:59:42 +02:00 |
|
Nick Treleaven
|
d8d82a0be4
|
checker: make has_return fn more efficient (#6103)
|
2020-08-10 23:59:08 +02:00 |
|
Alexander Medvednikov
|
88988817d0
|
parser: minor match simplification
|
2020-08-10 19:54:38 +02:00 |
|
Uwe Krüger
|
c3cdfa1c96
|
sync/channels: provide `try_push(), try_pop() as public methods (#6101)
|
2020-08-10 18:06:42 +02:00 |
|
Delyan Angelov
|
36eae1c175
|
builtin: x.vstring() instead of string(x) (#6102)
|
2020-08-10 18:05:26 +02:00 |
|
Delyan Angelov
|
eba413853f
|
compiler_errors_test.v: use work.close() instead of sentinel tasks
|
2020-08-10 15:26:54 +03:00 |
|
Nick Treleaven
|
5e2824e2f2
|
vfmt: align field attributes (when no inline comment after type) (#6089)
|
2020-08-10 13:13:42 +03:00 |
|
Delyan Angelov
|
bd32f0969f
|
parser: enable CamelCase named method names for JS. objects
|
2020-08-10 10:39:14 +03:00 |
|
Uwe Krüger
|
20a65cf9c8
|
sync/channels: implement close() method (#6098)
|
2020-08-10 06:22:20 +02:00 |
|
Nick Treleaven
|
fce106cf83
|
parser: use Attr.arg field for [name: arg] (#6084)
|
2020-08-10 02:00:14 +02:00 |
|
Sandro Martini
|
c7fae4dd6f
|
vweb: add set_status() (#6087)
|
2020-08-09 18:05:06 +02:00 |
|
Nick Treleaven
|
2dd90de993
|
parser: error on [unsafe_fn] (#6090)
|
2020-08-09 12:22:11 +03:00 |
|
Alexander Medvednikov
|
200f8dacb7
|
[]byte.str2() => bytestr()
|
2020-08-09 04:22:42 +02:00 |
|