mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
net.mbedtls: make compile with -prod
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user