-
The compiler currently compiles large structs conservatively. If a struct type has more than 4 fields (or a few other conditions), we treat that type as unSSAable. All operations on variables of tha…
-
I have this common use case where I join two tables and I want to deserialize a row into separate structs. However, each row cannot be easily deserialized into separate structs via `from_row`.
…
-
### Operating System
- [X] Windows
- [X] macOS
- [X] Linux
- [X] FreeBSD
- [X] Android
- [X] iOS
### What feature would you like to be added?
Use `structs.HostLayout` in all Platform specific struc…
-
I run into an issue regarding the types generated for structs with flattened enums.
For example when I define:
```rust
#[derive(Tsify)]
pub struct Root {
pub id: usize,
pub name: Str…
-
Wrapping datatypes in tables is not zero-cost, so we would want to be able to avoid doing this just to be able to hold a union of structs. Not having it means that many patterns are *extremely* painfu…
-
**Disclaimer**: I'm not sure if this is an intended language design issue (to be asked in csharplang repo), compiler bug (to be filed in roslyn repo) or API design/compatibility issue (to be filed in …
-
This is an excellent tool and just what I was looking for. Thank you.
In order for the IDEs to recognize the fields as valid inputs we add `__slots__` to all of our ctype.Structs.
Would it be pos…
corby updated
1 month ago
-
```
"""
Object
Parameters:
- `x`: Stores information.
"""
@concrete terse struct Object
x
end
```
This throws an error:
```
'@concrete' not documentable. See 'Base.@__doc__' do…
-
[Compiler Explorer](https://godbolt.org/z/8PM69Ej68)
```c
// [clang] error: initializer element is not a compile-time constant
// [ gcc ] ok
/* const */ size_t i;
static_assert (!!…
-
### Description
When setting both `omit_defaults` and `array_like` to `True`, defaults are _not_ omitted.
For example, _without_ `array_like=True`:
```python
class Position(
msgspec.Struc…