-
**Description:**
```
import ballerina/io;
type Foo record {
int i;
};
type Bar record {
string s;
};
public function main() {
Foo f = {i:23};
Foo|Bar fb = f;
io…
-
Is there an idiomatic way in ScalaBuff for deserializing a union-type container? This would obviate the need for protocol buffer reflection via `getAllFields` with Java-generated classes. For example,…
mmaz updated
11 years ago
-
Link to repro in playground [[here](https://azure.github.io/typespec-azure/playground?c=aW1wb3J0ICJAdHlwZXNwZWMvaHR0cCI7CtIZcmVzdNUZdmVyc2lvbmluZ8wfYXp1cmUtdG9vbHMvyCstxhVjb3JlIjsKCnVzaW5nIFR5cGVTcGVj…
-
### 🐛 Describe the bug
[The doc](https://pytorch.org/docs/stable/generated/torch.nn.MaxPool1d.html) of `nn.MaxPool1d()` says `kernel_size`, `stride`, `padding` and `dilation` argument are `int` or `t…
-
Union types are turned into Any types in C++ (basically std::any). However, these **must** be constructed via two-phase initialization:
```
union SimpleUnion
{
uint8 value8;
uint16 val…
-
While they have a good chance of avoiding namespace collisions, numbered anonymous types are decidedly not very readable.
![image](https://github.com/rust-lang/rust-bindgen/assets/1305080/f609af79-…
-
# Bug Report
### 🔎 Search Terms
* Tagged union
* Discriminated union
* Confusing/unclear error message
### 🕗 Version & Regression Information
This issue occurs on the oldest TS available…
-
Loading this package pirates the `union` operator from IntervalArithmetic.
I guess this is OK but it should be documented.
-
Need to investigate. We should fallback to DotDict class
Recent incident from `get_author_feed` method:
```
atproto_client.exceptions.ModelError: 1 validation error for Response
feed.0.post.embe…
-
It's kind of a problem with AssemblyScript, not `as-proto` per se, that it doesn't support union types or undefined, but protobufs often contain "oneof" fields and `as-proto` currently doesn't do a gr…