mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
changelog: add struct updating syntax (#7883)
This commit is contained in:
parent
3203a124b2
commit
a94935aa08
@ -3,13 +3,13 @@
|
||||
- `vweb` now uses struct embedding: `app.vweb.text('hello') => app.text('hello')`.
|
||||
- Consts can now be declared outside of `const()` blocks: `const x = 0`.
|
||||
- Allow overloading of `>`, `<`, `!=` and `==` operators.
|
||||
- Add struct updating syntax: `Mystruct{ ...ms, name: 'new' }`.
|
||||
|
||||
## V 0.2.1
|
||||
- Hashmap bootstrapping fixes.
|
||||
- Array decomposition to varargs: `fn sum(i ...int) int` => `a := [2,3,4] println(sum(a...))`
|
||||
- HTML module docs generated by vdoc now have global search.
|
||||
|
||||
|
||||
## V 0.2
|
||||
*22 Dec 2020*
|
||||
- Compile-time memory management via `-autofree`. [Video demonstration](https://www.youtube.com/watch?v=gmB8ea8uLsM).
|
||||
|
Loading…
Reference in New Issue
Block a user