Alexander Medvednikov
|
624f22e27e
|
all: mutability check (part 1); enable mutable sumtype args
|
2020-09-22 05:28:29 +02:00 |
|
Alexander Medvednikov
|
b74c1805d7
|
cgen/autofree: fix and simplify optionals
|
2020-09-12 16:40:52 +02:00 |
|
Nick Treleaven
|
eb95a4333a
|
table: rename Arg to Param (#6337)
|
2020-09-09 13:21:11 +02:00 |
|
Alexander Medvednikov
|
3410705974
|
autofree: lots of fixes
|
2020-09-05 12:00:35 +02:00 |
|
Nick Treleaven
|
7dbae14e19
|
checker: error on mut name = (#6247)
|
2020-08-28 20:07:32 +03:00 |
|
Maciej Obarski
|
e8e0d9fa42
|
all: [direct_array_access] tag (#6203)
|
2020-08-24 09:04:50 +02:00 |
|
Daniel Däschle
|
fcc61a981d
|
all: TypeSymbol.source_name (#6187)
|
2020-08-22 12:29:15 +02:00 |
|
Alexander Medvednikov
|
c5aa2bfa51
|
tests: fix a match test
|
2020-08-11 16:26:52 +02:00 |
|
Delyan Angelov
|
bd32f0969f
|
parser: enable CamelCase named method names for JS. objects
|
2020-08-10 10:39:14 +03:00 |
|
Nick Treleaven
|
2dd90de993
|
parser: error on [unsafe_fn] (#6090)
|
2020-08-09 12:22:11 +03:00 |
|
Nick Treleaven
|
6cc8815931
|
parser: support [unsafe] instead of [unsafe_fn] (#6066)
|
2020-08-08 16:24:05 +02:00 |
|
Enzo
|
f238890fe9
|
compiler: move attributes to declarations (#6026)
|
2020-08-04 20:10:22 +02:00 |
|
Delyan Angelov
|
8c4429c875
|
parser: fix passing the is_mut flag of anon fn arguments
|
2020-07-24 11:27:56 +03:00 |
|
Nick Treleaven
|
a74cbf55c7
|
checker: warn if C.m* or C.s* functions are called outside unsafe blocks (#5869)
|
2020-07-20 20:06:41 +03:00 |
|
Enzo
|
8653605b0a
|
fmt: allow for comments in call args and if expressions branches (#5871)
|
2020-07-20 17:48:33 +03:00 |
|
Ryan Willis
|
1114fd28d0
|
all: import individual symbols feature (#5872)
|
2020-07-18 21:34:38 +02:00 |
|
Nick Treleaven
|
105a0e015e
|
checker: warn if unsafe method called outside unsafe block (#5863)
|
2020-07-17 19:14:12 +02:00 |
|
Enzo
|
2ee8f93d60
|
parser: duplicate method declaration on interface (#5825)
|
2020-07-15 10:23:21 +02:00 |
|
Daniel Däschle
|
c5dc1a33b6
|
all: remove it smartcast and replace with original variable name (#5764)
|
2020-07-09 17:14:14 +02:00 |
|
yuyi
|
64e9bdc213
|
parser: fix non-void optional fn missing return value (fix #5736) (#5741)
|
2020-07-08 16:01:17 +02:00 |
|
Daniel Däschle
|
5ea17ad2d4
|
all: if smartcast part 2 (#5754)
|
2020-07-08 15:46:58 +02:00 |
|
joe-conigliaro
|
5fd5e558ae
|
parser/checker/gen: anon fn direct call with args
|
2020-07-08 01:10:39 +10:00 |
|
Uwe Krüger
|
ef02373061
|
all: remove rwshared keyword, make its semantics default for shared (#5710)
|
2020-07-07 01:57:31 +02:00 |
|
Uwe Krüger
|
3b067f5f85
|
all: experimental locked concurrency support, part 1 (#5637)
|
2020-07-04 12:44:25 +02:00 |
|
Alexander Medvednikov
|
b7175b54eb
|
vweb: ['/:arg1/:arg2/action'] attribute
|
2020-07-03 15:10:39 +02:00 |
|
Alexander Medvednikov
|
da99868a28
|
ci: run v vet vlib/v/parser
|
2020-07-01 18:57:14 +02:00 |
|
Delyan Angelov
|
78e1127d99
|
cgen: treat the main module like any other v module
|
2020-07-01 00:53:53 +02:00 |
|
joe-conigliaro
|
ab37dcaa9c
|
generic structs: initial implementation
|
2020-06-29 20:09:09 +02:00 |
|
yuyi
|
c588bdee5a
|
cgen: fix fn()? return
|
2020-06-29 11:02:40 +02:00 |
|
Delyan Angelov
|
1ba5996404
|
parser: fix interface functions with no params (ui examples)
|
2020-06-29 10:53:12 +03:00 |
|
Delyan Angelov
|
b6e6cde3e8
|
parser: disallow fns with type only args and a body
|
2020-06-29 10:21:01 +03:00 |
|
Daniel Däschle
|
852fca2151
|
all: call anon fns right away
|
2020-06-24 12:54:39 +02:00 |
|
yuyi
|
7efb3ecb34
|
checker: check deprecated functions
|
2020-06-23 16:25:24 +02:00 |
|
yuyi
|
73296e486a
|
parser: fix function return anon_fn without parentheses
|
2020-06-22 16:03:31 +02:00 |
|
spaceface777
|
a02aff9126
|
jsgen: fixes and improvements
|
2020-06-20 13:22:49 +02:00 |
|
Alexander Medvednikov
|
78b32892ac
|
cgen: use the new match syntax
|
2020-06-18 20:21:08 +02:00 |
|
joe-conigliaro
|
0cd9066f44
|
parser/cgen: multiple attributes & better errors (closes #5334)
|
2020-06-15 22:59:09 +10:00 |
|
Adam Stankiewicz
|
b3fc462a78
|
scanner: fix parsing multiple .amp
|
2020-06-13 00:01:44 +02:00 |
|
Delyan Angelov
|
5ef9569098
|
cmd/tools: add check_os_api_parity.v - keep module APIs even
|
2020-06-11 21:13:36 +03:00 |
|
spaceface777
|
30f1c6bad5
|
parser: fix type_only fns starting with varargs
|
2020-06-08 19:02:36 +02:00 |
|
Alexander Medvednikov
|
4d5ac1e16d
|
vweb: $html
|
2020-06-06 21:36:34 +02:00 |
|
Delyan Angelov
|
8d3f680d07
|
vdoc: implement .toplevel_comments parsing mode
|
2020-06-06 19:05:26 +03:00 |
|
Alexander Medvednikov
|
100b3986b8
|
parser: handle ! after CallExpr
|
2020-06-06 12:28:03 +02:00 |
|
yuyi
|
dd7ebf7fac
|
parser: check function argument mutable syntax
|
2020-06-04 15:20:43 +02:00 |
|
joe-conigliaro
|
41dca3ef58
|
checker/cgen: fix mutable generic fn args
|
2020-06-04 19:32:31 +10:00 |
|
Swastik Baranwal
|
d286f67220
|
parser: update check for non mut types in fn
|
2020-06-03 18:47:18 +03:00 |
|
yuyi
|
1060de88af
|
parser: fix function mutable argument error
|
2020-06-03 12:28:16 +02:00 |
|
Alexander Medvednikov
|
199f4f006b
|
checker: fix mut int check
|
2020-06-03 10:36:56 +02:00 |
|
yuyi
|
d0ff9a7c4a
|
parser: correct fn arg position in error message
|
2020-06-03 08:42:02 +03:00 |
|
Alexander Medvednikov
|
3d83934caf
|
checker: check mutating methods; generics fixes
|
2020-06-01 15:44:10 +02:00 |
|