mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
net.mbedtls: make compile with -prod
This commit is contained in:
parent
9d9785cc05
commit
cc47c78f39
2 changed files with 24 additions and 16 deletions
|
@ -4,8 +4,9 @@
|
|||
in addition to `[skip]`. This allows having custom behavior for different serialization methods.
|
||||
- ORM: fixed a foreign key bug that could result in an extra insert.
|
||||
- Generic functions as function parameters are now supported: `fn f[T](x T, i int, f_ Fn[T]) T { `.
|
||||
- Enum values now can have attributes.
|
||||
- Enum values now can have attributes.
|
||||
- json: Enum value string serialization supports `[json:'alias']` to change its string values.
|
||||
- Functions can now return fixed size arrays.
|
||||
|
||||
## V 0.3.4
|
||||
|
||||
|
@ -142,12 +143,12 @@ Final steps in making the Option type a first class type:
|
|||
a T
|
||||
b U
|
||||
}
|
||||
|
||||
|
||||
foo := Foo{
|
||||
a: 2
|
||||
b: 'x'
|
||||
}
|
||||
|
||||
|
||||
println(foo)
|
||||
```
|
||||
- unsafe: dereferencing nil references is no longer allowed in the following case:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue