joe-conigliaro
|
3ca4f5fada
|
checker/parser: anon fn call & return type fix
|
2020-04-22 18:41:57 +10:00 |
joe-conigliaro
|
c1e8612624
|
checker/gen: allow vargs to be forwarded. fix/enable variadic test
|
2020-04-22 13:28:47 +10:00 |
Kris Cherven
|
155891a4e0
|
parser: add unused variable warning
|
2020-04-22 01:52:56 +02:00 |
yuyi
|
a8dc0ccbcd
|
checker: add more op checks
|
2020-04-21 13:26:02 +02:00 |
joe-conigliaro
|
abf5942433
|
parser/cgen: anon fn var & calling (#4534)
|
2020-04-21 13:23:36 +10:00 |
Ruofan XU
|
cdb1b0344c
|
checker: improve type check for arithmetic assignment op and fix error pos
|
2020-04-20 20:56:05 +02:00 |
yuyi
|
717e26b45e
|
checker: more infix checks
|
2020-04-20 14:49:26 +02:00 |
yuyi
|
07f69fab19
|
checker: remove dots from error messages
|
2020-04-20 11:57:07 +02:00 |
Alexander Medvednikov
|
c1fc768c1b
|
fmt: run on cmd/v; cgen: fix anonymous functions
|
2020-04-20 07:04:31 +02:00 |
yuyi
|
be3bd520f6
|
checker: fix for in range type mismatch
|
2020-04-20 00:21:16 +02:00 |
Ruofan XU
|
5edd9cdc3a
|
checker: add type check for bit op
|
2020-04-19 22:29:45 +02:00 |
yuyi
|
dbb81b89fd
|
checker: fix type mismatch of `in` array
|
2020-04-19 22:26:58 +02:00 |
Daniel Däschle
|
b62bb22fa6
|
checker: allow C values in enum
|
2020-04-19 22:26:04 +02:00 |
Ruofan XU
|
6c59b306c7
|
checker: add type check for arithmetic assignment ops
|
2020-04-19 22:24:12 +02:00 |
Kris Cherven
|
95ae915c0c
|
checker/parser: fix outdated error messages
|
2020-04-19 20:46:48 +02:00 |
Enzo Baldisserri
|
57c142b993
|
checker: disallow pub in main
|
2020-04-19 00:07:57 +02:00 |
Tim Basel
|
86df486988
|
compiler: rename is_so to is_shared
|
2020-04-18 17:46:23 +02:00 |
Enzo Baldisserri
|
0f9322bf36
|
checker: print error and pos for lacking main or pub main
|
2020-04-18 00:20:38 +02:00 |
Enzo Baldisserri
|
f2be3d7ffb
|
checker: check that right `is` type exists
|
2020-04-18 00:19:33 +02:00 |
Tim Basel
|
73073cd954
|
parser: anonymous functions (part 1)
|
2020-04-17 21:59:19 +02:00 |
Kris Cherven
|
84ac634c31
|
checker: disallow pub fn main()
|
2020-04-17 20:30:43 +02:00 |
Alexander Medvednikov
|
4a556f72bb
|
checker: allow calling private functions in tests
|
2020-04-17 17:18:40 +02:00 |
Alexander Medvednikov
|
06c1b9e95e
|
table/checker: verify private functions/methods
|
2020-04-17 17:16:14 +02:00 |
Daniel Däschle
|
af30bf939e
|
checker: fix return underlining
|
2020-04-17 16:16:56 +02:00 |
Daniel Däschle
|
402e55d115
|
ast: expr.Position; struct field refactoring
|
2020-04-17 02:38:39 +02:00 |
Alexander Medvednikov
|
af224b4933
|
parser/cgen: is keyword
|
2020-04-16 15:32:14 +02:00 |
Delyan Angelov
|
cc9828b481
|
checker: fix building of shared .so libs
|
2020-04-16 16:30:19 +03:00 |
Daniel Däschle
|
19723c927b
|
checker: move more checks from parser
|
2020-04-16 12:17:15 +02:00 |
Daniel Däschle
|
04db2d02b8
|
checker: move struct name check from parser to checker
|
2020-04-16 11:01:18 +02:00 |
Delyan Angelov
|
92129d760d
|
checker: fix false positives for sumtype kind of matches
|
2020-04-16 00:32:56 +03:00 |
Abdullah Atta
|
6a186e8f11
|
jsgen: implement js backend
|
2020-04-15 23:16:49 +02:00 |
Daniel Däschle
|
27b6f30305
|
checker: move capital var check from parser to checker
|
2020-04-15 19:09:51 +02:00 |
joe-conigliaro
|
fde83aff0b
|
checker/cgen: fix calling struct field with fn type
|
2020-04-15 04:28:18 +02:00 |
Alexander Medvednikov
|
efaec8be8e
|
token/parser: var keyword
|
2020-04-15 01:45:27 +02:00 |
Enzo Baldisserri
|
86402204a7
|
checker: fail if else isn't the last branch of match
|
2020-04-14 20:31:51 +02:00 |
Daniel Däschle
|
50871d1a92
|
checker: for in index type error position
|
2020-04-14 19:37:56 +02:00 |
Alexander Medvednikov
|
ec10831318
|
parser: `[]int{cap:cap, len:len}` syntax; minor fixes
|
2020-04-14 18:10:16 +02:00 |
Delyan Angelov
|
e947d5e8c8
|
checker: fully exhaustive matches for sumtypes and enums
Also change the vlib/v/checker/tests/inout/match_expr_else.out to reflex the
new error details.
|
2020-04-14 16:50:43 +03:00 |
Daniel Däschle
|
75603beeea
|
checker: match exhaustive as stmt and with enum
|
2020-04-14 15:12:26 +02:00 |
Alexander Medvednikov
|
5f1b88c2c4
|
checker: do not use !in for now
|
2020-04-14 04:14:02 +02:00 |
Alexander Medvednikov
|
bbc35b1179
|
checker: check bool and string ops
|
2020-04-14 04:12:28 +02:00 |
Daniel Däschle
|
12e48c6fe2
|
checker: check match for exhaustion
|
2020-04-14 01:03:31 +02:00 |
Alexander Medvednikov
|
7aacf77262
|
checker: remove an extra fn check
|
2020-04-13 20:06:20 +02:00 |
Alexander Medvednikov
|
24958df565
|
parser: do not allow duplicate fns; cgen: move fn code to fn.v
|
2020-04-13 19:59:57 +02:00 |
Daniel Däschle
|
a6100be8df
|
parser: fix position of array init
* parser: fix position of array init
* fix checker_error_test.v tests
|
2020-04-13 19:08:02 +03:00 |
Daniel Däschle
|
1a4113d245
|
checker: store errors in []Error
|
2020-04-13 01:56:01 +02:00 |
Alexander Medvednikov
|
810a0725ec
|
tests: fix fmt tests
|
2020-04-12 17:49:31 +02:00 |
Alexander Medvednikov
|
0db0c642c3
|
vfmt: add missing imports automatically
|
2020-04-12 17:45:04 +02:00 |
Alexander Medvednikov
|
449d839684
|
checker: make sure functions return
|
2020-04-11 21:50:14 +02:00 |
Alexander Medvednikov
|
581d836de6
|
!in operator
|
2020-04-11 21:31:54 +02:00 |