-
### What happened?
I am not sure if this error is expected and is the same as referenced here https://github.com/pulumi/pulumi-go-provider/blob/main/examples/random-login/main.go#L41, but essentially…
-
[Godbolt Link](https://godbolt.org/z/EcojqEbhc)
As you can see in the asm output, even set `opt-level = 3`, if we don't add `Copy` to structs with all fields `Copy` derived, in `clone()` it generate…
-
Consider this example from https://github.com/shonfeder/alg_structs:
```
(version 0.1.3)
(package
(name alg_structs)
(depends
(dune (>= 1.11.3))
(ocaml (>= 4.08.0))
(ppx_deriving (>=…
-
Tested on msvc, glaze 3.1.9, 3.2.1 and 3.2.5
Given code such as
```c++
#include
#include "glaze-3.2.5/include/glaze/glaze.hpp"
struct FirstStruct {
int64_t MyVar {};
};
struct Seco…
-
### I tried this:
```wing
struct A {
a: num;
}
struct B {
a: num;
}
let x: A = B { a: 0 };
```
### This happened:
Compilation error (`Expected type to be "A", but got "B" inst…
-
Right now, we declare `valkeyContext`, `valkeyAsyncContext`, `valkeyClusterContext`, and `valkeyAsyncClusterContext` in our public headers, exposing their memory layout.
This makes it a lot harder …
-
**[ @maurolacy](https://www.github.com/maurolacy)** cloned issue [babylonchain/babylon-contract#71](https://www.github.com/babylonchain/babylon-contract/issues/71) on 2024-04-24:
> That way they can…
-
When a struct is embedded inside a type, the generated TypeScript definition for that type produces a key/value pair where the key and value are named after the struct, instead of inlining the fields …
-
Add support for:
- [`rgb`](https://crates.io/crates/rgb)
- [`palette`](https://crates.io/crates/palette)
- [`ecolor`](https://crates.io/crates/ecolor)
-
Structs would be nice, then you can do things like:
```
struct pixel {
bits red;
bits green;
bits blue;
}
module pixelgen() -> (pixel p) {
p.red[t] = 5;
p.green[t] = 5;
…