yuyi
|
5c21c748c9
|
builder,checker,table: simpify generics unwrap and struct processing (#9531)
|
2021-03-30 15:23:17 +03:00 |
yuyi
|
92f19f5767
|
generics: fix generics_struct with generic array string (#9494)
|
2021-03-28 10:46:13 +02:00 |
Lukas Neubert
|
cd74273869
|
fmt: fix import aliases in type declarations (#9483)
|
2021-03-27 11:33:41 +01:00 |
Alexander Medvednikov
|
0c055a1ce9
|
all: s.contains(s2) instead of `in`
|
2021-03-23 11:38:56 +03:00 |
Lukas Neubert
|
1b572f75e8
|
fmt: minor array wrap improvement (#9420)
|
2021-03-22 23:06:12 +01:00 |
Delyan Angelov
|
c76c69ec35
|
all: simplify `return if ...` constructs to make more code compatible with -autofree
|
2021-03-22 16:45:29 +02:00 |
zakuro
|
0258482caf
|
cgen: auto eq method for sumtype (#9408)
|
2021-03-22 06:39:07 +01:00 |
Delyan Angelov
|
a386be6505
|
v.table: correct `table.types` to `table.type_symbols`
|
2021-03-19 22:51:52 +02:00 |
crthpl
|
fafb035fb5
|
all: reimplement inline assembly (#8645)
|
2021-03-17 01:43:17 +01:00 |
Enzo
|
4b6244c9c1
|
gen: fix generic variadic (#9333)
|
2021-03-17 00:18:43 +02:00 |
yuyi
|
945769a4f6
|
all: implement reference receiver optimization for big structs (#9268)
|
2021-03-14 18:11:21 +01:00 |
spaceface
|
e9797c618a
|
all: implement error interfaces (#9291)
|
2021-03-13 18:13:50 +01:00 |
spaceface
|
f1469a8761
|
checker: allow accessing fields common to all sumtype members (#9201)
|
2021-03-09 19:16:18 +02:00 |
Delyan Angelov
|
64bc2fb40a
|
v: fix `[if debug] fn abc(){} ... abc()`
|
2021-03-07 12:05:07 +02:00 |
Lukas Neubert
|
6048d0e974
|
fmt: fix backslash doubling in attribute string args (#9175)
|
2021-03-07 09:44:58 +02:00 |
Lukas Neubert
|
fdcfe397d4
|
fmt: write empty or blocks the same as empty fn bodies, empty structs, etc (#9136)
|
2021-03-06 21:04:51 +02:00 |
Delyan Angelov
|
849cde245c
|
v: support dump(expr) (#9160)
|
2021-03-06 18:09:28 +01:00 |
joe-conigliaro
|
2d73411396
|
checker: define missing C fn args & check C & JS args (#8770)
|
2021-03-05 17:41:11 +03:00 |
Delyan Angelov
|
0f042124cb
|
tests: support `fn test_fn() ? { opt()? }`
|
2021-03-05 14:18:21 +02:00 |
Joe Conigliaro
|
a50f2ca5e8
|
interfaces: error on implemention of own interface method & on duplicate normal methods
|
2021-03-03 15:02:10 +11:00 |
spaceface
|
2b53992c01
|
checker, cgen: allow implementing an interface with an embedded struct (#9042)
|
2021-03-01 21:47:00 +01:00 |
spaceface
|
d63b7bc35a
|
all: update repo to use the new error handling syntax (#8950)
|
2021-02-28 23:20:21 +03:00 |
spaceface
|
b9a381f101
|
all: migrate to the new Option (p. 1) (#8924)
|
2021-02-28 22:24:29 +03:00 |
Uwe Krüger
|
f67bff1696
|
all: support `thread` handles and `wait()` for functions returning optionals (#8990)
|
2021-02-27 10:16:55 +02:00 |
Uwe Krüger
|
5674d46965
|
table,cgen: fix bug preventing `t := []thread{}` to compile (#8913)
|
2021-02-23 09:37:29 +02:00 |
Delyan Angelov
|
467dce6be6
|
v.table: minimize re-allocations on << to table.types
|
2021-02-22 16:24:57 +02:00 |
Uwe Krüger
|
5306b2788c
|
all: extend `wait()` method to array of `thread` handles (#8840)
|
2021-02-22 15:08:52 +02:00 |
zakuro
|
f54c1a5cc2
|
all: add strings.Builder.write_string and use write_string instead of write (#8892)
|
2021-02-22 13:18:11 +02:00 |
yuyi
|
783cee98d9
|
table/parser: minor optimization of anon_fn names (#8851)
|
2021-02-20 15:54:47 +02:00 |
Swastik Baranwal
|
ad162cd6fc
|
checker: stricter `unknown type` checks, show better suggestions (#8816)
|
2021-02-19 11:23:13 +02:00 |
zakuro
|
a34a1ab864
|
checker/table: minor cleanup by removing unnecessary `_` variable (#8801)
|
2021-02-18 11:30:43 +02:00 |
yuyi
|
a9c2045dbd
|
cgen: fix var name clash of array/map (fix #1994) (#8765)
|
2021-02-15 15:51:57 +02:00 |
Uwe Krüger
|
374739b804
|
all: rename `[ref_only]` -> `[heap]` (#8718)
|
2021-02-13 16:52:01 +02:00 |
Swastik Baranwal
|
09cff69919
|
all: allow using aliases as keys in map (#8589)
|
2021-02-08 18:51:05 +01:00 |
Lukas Neubert
|
5abd49d9bc
|
cgen: cast default struct field value to correct SumType/interface (#8619)
|
2021-02-08 17:33:05 +02:00 |
Delyan Angelov
|
d77bb2f606
|
all: improve -skip-unused, track consts, walk all AST nodes, support tests
|
2021-02-07 02:51:45 +02:00 |
Uwe Krüger
|
cf230644b6
|
fmt: enable shared return types (#8614)
|
2021-02-06 21:25:06 +01:00 |
Delyan Angelov
|
40fff7b56a
|
v.pref: support `v -skip-unused run examples/hello_world.v`
|
2021-02-05 11:12:28 +02:00 |
Delyan Angelov
|
80697ec7f3
|
table: .is_used => .usages (a counter, instead of a boolean flag)
|
2021-02-05 10:03:17 +02:00 |
Alexander Medvednikov
|
1084b43ffb
|
all: ast walker for marking unused fns
|
2021-02-05 08:05:35 +01:00 |
yuyi
|
1be7cc14d3
|
checker: check duplicate of a const name (#8396)
|
2021-01-28 18:34:55 +01:00 |
spaceface
|
5f2b2df546
|
checker: don't disallow defining methods on interfaces (#8335)
|
2021-01-26 11:56:17 +01:00 |
zakuro
|
3959ba5751
|
checker: make a calling no-body function a checker error (#8265)
|
2021-01-26 11:19:48 +01:00 |
Delyan Angelov
|
dbaccd4272
|
vfmt: shorten `main.const_name` to just `const_name`
|
2021-01-25 20:57:33 +02:00 |
Delyan Angelov
|
728344ff65
|
ci: fix `v test-cleancode`
|
2021-01-25 12:55:01 +02:00 |
Lukas Neubert
|
8b61891348
|
fmt: smarter if condition wrapping (#8201)
|
2021-01-23 10:33:22 +02:00 |
spaceface
|
c2d501e8a9
|
all: implement interface fields (#8259)
|
2021-01-23 08:57:17 +02:00 |
Daniel Däschle
|
dbf84520f1
|
all: update assoc syntax (#8274)
|
2021-01-22 23:24:48 +01:00 |
Daniel Däschle
|
500ebf77e4
|
all: implement multiple generics (#8231)
|
2021-01-22 13:49:56 +01:00 |
joe-conigliaro
|
97ebecc5f4
|
usecache: get all tests running with -usecache enabled by default (p.1) (#7699)
|
2021-01-20 06:04:59 +01:00 |