Daniel Däschle
|
54bbc00493
|
fmt: remove space in front of ? and ! (#14366)
|
2022-05-13 10:10:39 +02:00 |
Delyan Angelov
|
b9ee4204df
|
parser: make script mode errors more informative, when a top level declaration is encountered, after script mode had already started
|
2022-05-13 10:10:39 +02:00 |
yuyi
|
d09c84f46f
|
checker: check error for generic sumtype types (#14374)
|
2022-05-13 10:10:39 +02:00 |
yuyi
|
56093b53d6
|
parser: check error for generic struct parameter (#14362)
|
2022-05-13 10:10:37 +02:00 |
StunxFS
|
2cc8cb64aa
|
parser,checker: support `$compile_error('message')` and `$compile_warn('message')` (#14320)
|
2022-05-13 10:10:37 +02:00 |
Delyan Angelov
|
5ff83f5990
|
docs: fix `teh` typo
|
2022-05-08 14:03:58 +02:00 |
yuyi
|
798873fe44
|
parser, checker: fix generic method on nested struct (fix #14089) (#14310)
|
2022-05-05 10:59:50 +02:00 |
yuyi
|
6cf707261d
|
parser: make peek_token_after_var_list() private (#14288)
|
2022-05-04 22:34:52 +02:00 |
yuyi
|
93d49176c7
|
parser: minor cleanup in interface_decl() (#14257)
|
2022-05-04 11:52:31 +02:00 |
yuyi
|
21555fb03a
|
parser: fix inline array's element access (#14253)
|
2022-05-04 11:52:30 +02:00 |
spaceface
|
bf86fff9cc
|
checker, gen: add support for a [minify] struct attribute (#14247)
|
2022-05-04 11:52:30 +02:00 |
yuyi
|
f4586b1577
|
parser: make sure interface field names use uppercase letters (#14228)
|
2022-04-30 16:26:27 +02:00 |
Daniel Däschle
|
85cb0a8c85
|
all: basic implementation of result type (#14140)
|
2022-04-30 16:26:27 +02:00 |
yuyi
|
2109a6a85c
|
parser: check interface methods name (fix #14217) (#14218)
|
2022-04-29 21:38:24 +02:00 |
yuyi
|
d1a0ac26fd
|
checker: check struct field name using uppercase letters (#14220)
|
2022-04-29 21:38:24 +02:00 |
yuyi
|
134b594e4d
|
ast, parser: fix complex map init (#14206)
|
2022-04-29 21:38:23 +02:00 |
Alexander Medvednikov
|
b7f2ef78b2
|
all: atomic int fixes
ci/woodpecker/push/vc Pipeline was successful
Details
ci/woodpecker/push/docker Pipeline was successful
Details
ci/woodpecker/push/arch Pipeline was successful
Details
|
2022-04-27 21:07:11 +02:00 |
yuyi
|
47e7582af8
|
parser, checker, cgen: fix error for fn call using anon fn call argument (#14155)
|
2022-04-25 19:07:29 +02:00 |
Alexander Medvednikov
|
f3dff7c1c0
|
tmpl: minor fixes and optimizations
|
2022-04-25 19:07:28 +02:00 |
yuyi
|
0a30a90924
|
parser: minor cleanup in stmt() (#14136)
|
2022-04-25 19:07:28 +02:00 |
yuyi
|
052c8e0282
|
parser: fix generic anon fn decl with type only argument (#14124)
|
2022-04-25 19:07:26 +02:00 |
Alexander Medvednikov
|
fac15fb862
|
builtin: define C.abs()
|
2022-04-21 10:34:33 +02:00 |
Alexander Medvednikov
|
0c2984ff93
|
parser: do not allow [x]byte{}
|
2022-04-17 12:14:30 +02:00 |
Alexander Medvednikov
|
7d1ccf7dcd
|
all: handle fixed []u8
|
2022-04-17 12:14:29 +02:00 |
Alexander Medvednikov
|
de310491bb
|
tests: use u8 everywhere
|
2022-04-17 12:14:29 +02:00 |
Alexander Medvednikov
|
9b276a4138
|
ast: remove .byte
|
2022-04-17 12:14:28 +02:00 |
Alexander Medvednikov
|
7ecbca345f
|
all: byte => u8
|
2022-04-17 12:14:27 +02:00 |
Alexander Medvednikov
|
2a84f6db95
|
all: byte => u8
|
2022-04-17 12:14:26 +02:00 |
Alexander Medvednikov
|
3b36f16365
|
all: volatile globals
|
2022-04-15 02:39:38 +03:00 |
Delyan Angelov
|
e555335bf0
|
ci: fix windows-msvc builds, as well as the windows-cross job, turn on deprecation notices for [windows_stdcall] and [_fastcall]
|
2022-04-14 13:36:51 +03:00 |
fleur
|
68401d9dc8
|
gen: add callconv attribute for fn and type (#14027)
|
2022-04-14 11:29:52 +03:00 |
yuyi
|
e3e5bef139
|
ast, parser: fix formatting of `if` with inline comments (fix #7796) (#14018)
|
2022-04-13 00:15:27 +03:00 |
yuyi
|
3e3b2e25db
|
parser, fmt: fix the formatting of fn headers with inline comments (#14010)
|
2022-04-11 22:31:06 +03:00 |
yuyi
|
5551cb248c
|
ast, parser, fmt: fix formatting of consts with embedded comments (#14008)
|
2022-04-11 17:27:41 +03:00 |
yuyi
|
fa66183f43
|
checker: check error for map of generic struct init (#13999)
|
2022-04-11 10:07:23 +03:00 |
yuyi
|
93a5d03182
|
parser: improve embedded struct parsing/better error for `Architecture []string` (#13995)
|
2022-04-10 10:24:36 +03:00 |
Joe Conigliaro
|
8dc2601080
|
all: comptime_call - simplify tmpl scoping, solves many issues.
|
2022-04-08 17:33:24 +10:00 |
Vincenzo Palazzo
|
359f16fdfd
|
parser: fixed parsing prototype function with recursive type (#13922)
|
2022-04-05 18:39:49 +03:00 |
Vincenzo Palazzo
|
51c1d666c2
|
checker: fix operator overloads (for large structs with > 8 fields, the method receiver is normally auto converted to a reference) (#13889)
|
2022-04-03 19:30:29 +03:00 |
yuyi
|
bc98c11d9d
|
parser, checker, cgen: minor cleanup of go_expr() (#13875)
|
2022-03-31 19:58:04 +03:00 |
yuyi
|
42a67831bf
|
parser: fix printing slice of multiline raw string (#13856)
|
2022-03-29 18:06:11 +03:00 |
yuyi
|
dd1a8cbadc
|
parser: check error for struct field type using 'mut' (#13847)
|
2022-03-28 18:13:38 +03:00 |
Delyan Angelov
|
bea0d500d0
|
parser: ignore upper letter case restriction for `fn C.xyz` declarations
|
2022-03-26 21:20:28 +02:00 |
Nick Treleaven
|
fcb57312b9
|
parser: error if parameter name starts with a capital (#13827)
|
2022-03-26 19:56:34 +02:00 |
Delyan Angelov
|
eb7c9cec3d
|
parser: short circuit if conditions in Parser.name_expr
|
2022-03-19 20:31:03 +02:00 |
yuyi
|
bb2ddb98a3
|
parser: check if guard condition (#13765)
|
2022-03-18 17:49:20 +03:00 |
Delyan Angelov
|
0ca87ad09f
|
parser: fix small performance regression after 1d83ab6b (by avoiding needless interpolation in hot paths)
|
2022-03-18 12:52:03 +02:00 |
yuyi
|
49155ec312
|
parser: notice unnecessary parenthesis of reference (fix #11179) (#13739)
|
2022-03-15 16:11:53 +02:00 |
yuyi
|
92cafd8851
|
checker: check invalid 'mut' keyword in infix expr (#13742)
|
2022-03-15 14:50:17 +03:00 |
yuyi
|
1d83ab6be1
|
parser: check using invalid keyword with none ident (#13743)
|
2022-03-15 12:58:03 +02:00 |