spaceface
|
52a3e5e780
|
cgen: fix a race condition in the closure implementation (#14532)
|
2022-05-27 17:35:02 +03:00 |
Vincenzo Palazzo
|
17bba712bd
|
checker: ban unsafe pointer/fn comparison (#14462)
|
2022-05-20 18:30:16 +03:00 |
yuyi
|
020845f6c3
|
cgen: fix alias of array that has builtin method (#14432)
|
2022-05-17 12:26:26 +03:00 |
yuyi
|
d59f4e9479
|
ast, cgen: fix generic method with variadic generic argument (#14404)
|
2022-05-16 12:26:38 +03:00 |
spaceface
|
49382f1f43
|
gen: make the closure implementation more performant (#14352)
|
2022-05-12 00:05:14 +03:00 |
Hunam
|
0699f324b5
|
builtin: add `map.values()` (#14301)
|
2022-05-06 20:42:01 +03:00 |
Daniel Däschle
|
76cdf75299
|
builtin,cgen: rename `Option` to `_option` (#14317)
|
2022-05-06 19:25:54 +03:00 |
Delyan Angelov
|
0e5c1cee48
|
builtin: improve musl/Alpine support (define weak backtrace/backtrace_symbols/backtrace_symbols_fd symbols) (#14250)
|
2022-05-03 09:17:53 +03:00 |
spaceface
|
332e821518
|
checker, gen: add support for a [minify] struct attribute (#14247)
|
2022-05-02 01:59:17 +03:00 |
spaceface
|
dab649ec8a
|
cgen: rewrite the closure implementation (#14223)
|
2022-04-30 09:32:46 +03:00 |
Daniel Däschle
|
08fd0ce0de
|
all: basic implementation of result type (#14140)
|
2022-04-30 01:59:14 +03:00 |
StunxFS
|
8b798acadd
|
cgen: fix use of C reserved words inside `defer` statement (fix #14101) (#14211)
|
2022-04-29 08:04:59 +03:00 |
yuyi
|
dd94ab890a
|
cgen: fix go anon fn call with ref argument (fix #14192) (#14197)
|
2022-04-28 14:43:20 +03:00 |
Delyan Angelov
|
be04ec0620
|
pref: add support for `-thread-stack-size 4194304` (default set to 8MB) (#14168)
|
2022-04-28 08:46:33 +03:00 |
yuyi
|
aeba110d01
|
cgen: fix error for printing multi fixed array (#14141)
|
2022-04-25 14:42:05 +03:00 |
yuyi
|
88f22b4367
|
cgen: fix error for anon fn decl inside ternary (#14150)
|
2022-04-25 12:36:03 +03:00 |
yuyi
|
922cee9162
|
parser, checker, cgen: fix error for fn call using anon fn call argument (#14155)
|
2022-04-25 11:26:14 +03:00 |
yuyi
|
5dce091379
|
checker, cgen: fix generic empty interface to multi struct (#14132)
|
2022-04-22 11:02:51 +03:00 |
Alexander Medvednikov
|
014c3c97f0
|
all: byte => u8
|
2022-04-15 14:45:52 +03:00 |
fleur
|
68401d9dc8
|
gen: add callconv attribute for fn and type (#14027)
|
2022-04-14 11:29:52 +03:00 |
fleur
|
6718958058
|
cgen: add a `[_fastcall]` fn attribute (#14016)
|
2022-04-12 17:06:56 +03:00 |
yuyi
|
2a88b313d4
|
cgen: format json encode/decode generated c codes (#13972)
|
2022-04-08 17:27:05 +03:00 |
yuyi
|
e7fd8c4e7c
|
cgen: fix error for dereference mut interface in loop (fix #13913) (#13941)
|
2022-04-07 12:01:54 +03:00 |
yuyi
|
a58dde48f8
|
cgen: fix error for optional multi return (#13959)
|
2022-04-07 09:12:23 +03:00 |
yuyi
|
c9dcdf6744
|
cgen: fix json decode with optional argument (fix #13943) (#13958)
|
2022-04-06 19:34:22 +03:00 |
yuyi
|
0cba579a7b
|
cgen: simplify codegen for optional consts (#13948)
|
2022-04-05 17:54:23 +03:00 |
yuyi
|
f6b8e1e13f
|
cgen: fix error for const using nested optionals (#13939)
|
2022-04-05 05:58:11 +03:00 |
yuyi
|
bc98c11d9d
|
parser, checker, cgen: minor cleanup of go_expr() (#13875)
|
2022-03-31 19:58:04 +03:00 |
yuyi
|
ae1cb5697e
|
cgen: minor cleanup in ref_or_deref_arg() (#13874)
|
2022-03-30 21:06:38 +03:00 |
yuyi
|
dff39bac78
|
cgen: fix error for defining global anonymous functions (#13808)
|
2022-03-23 08:09:15 +02:00 |
yuyi
|
f7feb634d2
|
checker: fix error for if mut with immutable variable (#13728)
|
2022-03-13 16:33:50 +02:00 |
yuyi
|
27f9bc9ba0
|
checker: check error for match mut with immutable variable (fix #9704 #8976) (#13725)
|
2022-03-13 09:53:29 +02:00 |
Alexander Medvednikov
|
36ec47cd20
|
all: replace "NB:" with "Note:" (docs/comments)
|
2022-03-06 20:01:22 +03:00 |
yuyi
|
ffe6ff3cc8
|
cgen: fix error for print smartcast variable (#13634)
|
2022-03-02 12:32:54 +02:00 |
yuyi
|
9a2df0df0e
|
cgen: fix fn mut argument of interface type (#13616)
|
2022-02-28 13:31:04 +02:00 |
yuyi
|
07e9ed1a1d
|
cgen: fix interface embedding method call (#13553)
|
2022-02-21 17:49:38 +02:00 |
yuyi
|
0236931c78
|
cgen: fix generics with reference generic arguments (#13525)
|
2022-02-19 15:19:50 +02:00 |
Joe Conigliaro
|
6fc654821f
|
cgen: get usecache working with clang (fix duplicate symbols)
|
2022-02-17 22:17:07 +11:00 |
crthpl
|
e23db2f9b7
|
cgen: fix autogen free method for struct with shared field (#13469)
|
2022-02-15 03:55:06 +02:00 |
yuyi
|
b5379255da
|
checker, cgen: fix error for struct embed with fn type (#13450)
|
2022-02-12 20:55:40 +02:00 |
yuyi
|
7178367de0
|
all: fix error for comptime for in field with generic fn (fix #13409) (#13439)
|
2022-02-11 22:00:13 +02:00 |
Delyan Angelov
|
356ccf247f
|
cgen: add an earlier error, to pin point the use of closures on windows
|
2022-02-09 08:35:11 +02:00 |
Alexander Medvednikov
|
f23d2c8cf4
|
cgen: c2v variadic fixes
|
2022-02-06 03:36:38 +03:00 |
div72
|
cec7e91714
|
v.parser, v.checker, v.gen: add support for [translated] tag (#13373)
|
2022-02-06 00:16:02 +02:00 |
yuyi
|
9dce8194a8
|
cgen: fix error of method calls on nested embedded structs (#13292)
|
2022-01-27 13:20:56 +02:00 |
Delyan Angelov
|
3fa9128716
|
cgen,pref: support `-profile-fns strings__new_builder,i64_str -profile -`
|
2022-01-26 20:39:47 +02:00 |
Tim Basel
|
bb6c46e1ef
|
gen: fix mut sumtype arguments for fields (#13205)
|
2022-01-18 19:53:09 +02:00 |
yuyi
|
879d1d2f11
|
cgen: fix generics method with sumtype arguments (#13166)
|
2022-01-14 18:45:12 +02:00 |
yuyi
|
547169674d
|
cgen: fix fn call with mut sumtype argument (#13143)
|
2022-01-12 18:36:19 +02:00 |
yuyi
|
236a1d0255
|
cgen: fix error for print comptime for method call (#13108)
|
2022-01-09 19:00:23 +02:00 |