-
Support for generic types like in Java.
bsels updated
5 months ago
-
I have encountered an issue where complex intersection types are not fully represented when used in certain contexts in a generic class. Specifically, when using a callback parameter in a method, only…
-
## Intro
I'm honestly not entirely sure if this is bug, language limitation, or just me not understanding or doing something right. I'm guessing that I'm probably doing something wrong, in which case…
-
In v0.10, I made it so that endpoints and topics could accept types with lifetimes, e.g.:
```rust
topics! {
list = TOPICS_IN_LIST;
direction = postcard_rpc::TopicDirection::ToServer;
…
-
Using Hypothesis, the following code is expected to type-check - we can in fact call `sorted` on a list of integers - but mypy instead complains of incompatible overloads for `sorted` (https://github.…
-
## Description
- SearchResponse, SearchResponses should take a single generic THit
- HighlightResult and SnippetResults should take a single generic THit
SnippetResults and HighlightResult shou…
-
This issue should be closed exactly when the bullet item “Added support for generic structures” in Section 1.1 "P4 Language Version Applicability" is addressed and removed.
In P4_16 v1.2.2, a featu…
-
Code bellow cause compilation error:
```
error: generic `Self` types are currently not permitted in anonymous constants
--> src/main.rs:15:27
|
15 | pub id: ArrayString,
| …
-
Looking into a few different ways to accomplish representing tuple types with `TypedArray`-based NBT key types.
Right now the standard library types don't provide anything like tuple support for `T…
-
for the sake of readability of the docs.