1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

10 Commits

Author SHA1 Message Date
Delyan Angelov
d56ae2d508
v.fmt: keep comments after struct embeds 2021-06-18 18:42:05 +03:00
Delyan Angelov
000790b112
vfmt: fix eating JS. from JS.Struct{} 2021-06-08 21:27:05 +03:00
Delyan Angelov
eac1e25c5d
strings: simplify Builder (#10263) 2021-05-31 14:21:06 +03:00
yuyi
431d806dcf
ast, parser: cleanup of generic structs (#9839) 2021-04-22 18:21:01 +03:00
Lukas Neubert
cd74273869
fmt: fix import aliases in type declarations (#9483) 2021-03-27 11:33:41 +01:00
zakuro
e76c8d5dc0
fmt: use type_to_str_using_alias instead of type_to_str in struct.v (#9431)
* fmt: use type_to_str_using_alias instead of type_to_str in struct.v

* update test
2021-03-24 20:13:11 +02:00
Lukas Neubert
a67d49050c
math: add a pure V math.mathutil, with generic min, max and abs functions (#9176), and use it consistently 2021-03-12 11:28:04 +02:00
Lukas Neubert
f69cef397c
fmt: do not insert a space before struct declaration generics (#9239) 2021-03-11 14:54:40 +02:00
zakuro
45d51c76da
v.util: add an iabs(x) helper (#9172) 2021-03-07 11:24:05 +02:00
zakuro
b83530e0ed
fmt: extract part of fmt.v into struct.v (#9141) 2021-03-06 20:40:44 +02:00