Nick Treleaven
|
75212f9fab
|
cgen: error if ForInStmt is not handled (#6131)
|
2020-08-14 21:01:43 +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
|
8580a0bcd7
|
cgen: run vfmt to silence `./v fmt -verify`
|
2020-08-13 21:22:52 +03:00 |
Daniel Däschle
|
64e8125807
|
cgen: fixe calling anon fn asynchronously (closes #6088) (#6121)
|
2020-08-13 20:06:56 +02:00 |
Delyan Angelov
|
1135dffe2d
|
cgen: prevent generation of duplicate interface method wrappers
|
2020-08-13 20:56:58 +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 |
Delyan Angelov
|
ca7a64a451
|
cgen: add support for -g again
|
2020-08-12 02:05:45 +03:00 |
Enzo
|
f238890fe9
|
compiler: move attributes to declarations (#6026)
|
2020-08-04 20:10:22 +02:00 |
Alexander Medvednikov
|
7a7572e478
|
autofree: free temp string exprs
|
2020-08-04 01:26:34 +02:00 |
Nick Treleaven
|
7f447bb82f
|
ast: use Block instead of UnsafeStmt (#5981)
|
2020-08-02 14:06:44 +03:00 |
Alexander Medvednikov
|
adafd24819
|
gen: auto_str_methods.v
|
2020-08-01 16:36:12 +02:00 |
Delyan Angelov
|
0fb8074353
|
cgen: add support for `$if gcc {}` too
|
2020-07-31 21:25:37 +03:00 |
joe-conigliaro
|
1ea511b530
|
builder/cgen: get -usecache working for self cimpilation
|
2020-07-31 20:10:19 +10:00 |
Ruofan XU
|
1d59d35129
|
cgen: fix sum type match (#5978)
|
2020-07-28 22:17:25 +02:00 |
Ruofan XU
|
7027b2354b
|
cgen: fix array and map with fns (#5938)
|
2020-07-26 14:22:02 +02:00 |
Delyan Angelov
|
3d2fd471b6
|
ci: prepare for enabling compilation with g++ again
|
2020-07-25 20:20:49 +03:00 |
Alexander Medvednikov
|
3c1427a4e8
|
all: fix current module in build-module mode
|
2020-07-25 01:37:54 +02:00 |
Louis Schmieder
|
b58b15993c
|
gen: compile time for (methods and fields) (#5957)
|
2020-07-25 00:02:44 +02:00 |
pancake
|
04ef2a2671
|
os: implement os.system for iOS and uncomment the `$if ios` blocks (#5947)
|
2020-07-24 10:17:32 +03:00 |
Alexander Medvednikov
|
632e27a4a9
|
all: fix a big mutability bug and update all mutable vars
|
2020-07-23 23:16:36 +02:00 |
Alexander Medvednikov
|
653d40bfe8
|
parser: do not duplicate table imports
|
2020-07-23 21:59:48 +02:00 |
pancake
|
36352085ae
|
v: add support for iOS crosscompilation (#5943)
|
2020-07-23 07:58:44 +03:00 |
Emily Hudson
|
0f98445f7f
|
cgen: properly handle more multi-return edge cases (#5933)
|
2020-07-23 00:39:19 +02:00 |
Ryan Willis
|
938e71b468
|
v: fix for `import cli { Command }`
|
2020-07-22 20:33:43 +03:00 |
Ruofan XU
|
0f72328d1f
|
cgen: minor generated C source format fix
|
2020-07-22 17:27:37 +03:00 |
Ruofan XU
|
a370dd2867
|
cgen: further fixes to and array/map of fns (#5916)
|
2020-07-22 02:30:44 +02:00 |
kalapalo
|
c3a2e9b5c4
|
cgen: fix sum type assignment with pointers (#5868)
|
2020-07-22 02:28:49 +02:00 |
Alexander Medvednikov
|
303b65c0b9
|
roadmap: io streams
|
2020-07-20 22:51:17 +02:00 |
Ruofan XU
|
88c8e194d0
|
cgen: fix map and array with fns (#5894)
|
2020-07-20 19:53:02 +03:00 |
Delyan Angelov
|
c858978348
|
cgen: add support for `-d trace_gen` too. Add `v tracev` command.
|
2020-07-20 12:36:27 +03:00 |
Ruofan XU
|
9f6aacb739
|
cgen: fix array of fns init (#5884)
|
2020-07-19 21:44:03 +02:00 |
Enzo
|
8a855ccae1
|
fmt,vet: handle `var in [single_value]` (#5882)
|
2020-07-19 19:58:34 +02:00 |
Alexander Medvednikov
|
74d70b8719
|
all: more cached moduels fixes
|
2020-07-18 13:49:03 +02:00 |
Alexander Medvednikov
|
38e5569503
|
all: cached modules fixes
|
2020-07-18 11:15:44 +02:00 |
Enzo
|
90d9040e6e
|
all: make comment expressions + fix vfmt array init (#5851)
|
2020-07-17 19:13:22 +02:00 |
Nick Treleaven
|
39f90e25f3
|
all: `if` guard optional: define `err` in `else` branch (#5853)
|
2020-07-17 19:10:01 +02:00 |
Uwe Krüger
|
ea322bdd97
|
checker, cgen: fix call of generic function returning normal type (#5865)
|
2020-07-17 18:28:45 +02:00 |
spaceface777
|
3583302ad4
|
parser: force `...` rather than `..` in matches for inclusive ranges (#5852)
|
2020-07-17 11:30:21 +03:00 |
Alexander Medvednikov
|
e4fac6ff97
|
autofree: fix scope position
|
2020-07-16 19:40:14 +02:00 |
spaceface777
|
b900577dae
|
compiler: handle ranges as `match` conditions (#5847)
|
2020-07-16 16:41:18 +03:00 |
joe-conigliaro
|
612fe1b8fb
|
cgen: autofree scope var position fixes
|
2020-07-16 20:06:50 +10:00 |
Enzo
|
880c8e4dc9
|
cgen: else if guard (#5822)
|
2020-07-14 17:19:55 +02:00 |
Alexander Medvednikov
|
c3ec5323f0
|
autofree: move new scope free behind -experimental for now
|
2020-07-14 15:30:55 +02:00 |
Alexander Medvednikov
|
7231b467a6
|
autofree: fix stmts() free
|
2020-07-14 14:50:51 +02:00 |
Alexander Medvednikov
|
1338e7fce2
|
autofree: free in each scope
|
2020-07-14 13:56:52 +02:00 |
ka-weihe
|
df45488e09
|
cgen: fix warnings (#5820)
|
2020-07-14 00:16:31 +02:00 |
Uwe Krüger
|
6e6010d198
|
checker, cgen: implement auto-lock for `a[i]++`, `a[i]--` (#5817)
|
2020-07-13 15:01:32 +03:00 |