diff options
| author | Franz Höltermann <Francis_the_cat@gmx.de> | 2024-03-27 15:46:44 +0100 |
|---|---|---|
| committer | Franz Höltermann <Francis_the_cat@gmx.de> | 2024-03-27 15:46:44 +0100 |
| commit | a422aba5786080c9f176cfb0255f81d987b10a08 (patch) | |
| tree | 687d5363aeff0c529df94b75ba8948863604f394 /src/llvm_backend_debug.cpp | |
| parent | 92a5666c1cc6a5b76d984be4394b5daabdf6fc03 (diff) | |
Json: improved unmarshalling of `using _: T` fields.
`using _: T` fields will now have their members unmarshalled to their
parent types reflecting the new behaviour of json.marshall.
Example:
```go
A :: struct {
using _: B,
}
B :: struct {
field: string,
}
data := `{"field": "Hello World"}`
a: A
json.unmarshal_string(data, &a)
```
Diffstat (limited to 'src/llvm_backend_debug.cpp')
0 files changed, 0 insertions, 0 deletions