-
I have a generic interface
```
public interface IFloatyThing where T : Balloon
{
/* ... */
}
```
and another generic interface
```
public interface IRockCandy where S : Flavor, new()…
-
translate has payload being an array
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/translation/Azure.AI.TextTranslation/routes.tsp#L61-L67
(request body and response body is …
-
In the discussion for https://github.com/golang/go/issues/45346, [this comment](https://github.com/golang/go/issues/45346#issuecomment-812741029) mentioned the possibility of adding a type switch on p…
-
# Bug Report
Hello,
### 🔎 Search Terms
type narrowing, generic types, control flow analysis
### 🕗 Version & Regression Information
(see Playground) When trying to narrow generic types (…
-
**EDIT: I believe my original proposal here was infeasible, so have adjusted it to a smaller (and fairly simple) change.**
[Updated Proposal](https://github.com/ziglang/zig/issues/14187#issuecommen…
mlugg updated
4 months ago
-
I tried to create a `cref` attribute for an element in an XML documentation element using the following code:
``` csharp
TypeSyntax typeSyntax = SyntaxFactory.ParseTypeName("global::System.Lazy");
Ty…
-
**Description**
Using a subtype declared in a generic package inside a record declared in the same package causes GHDL to crash.
**Expected behaviour**
No crash, error message if that's illegal i…
-
Also:
- [x] Add spaces to curlies in imports and object assignments
- [ ] In prettier as well
Updates for eslint
- [x] order import/export
- [x] Array types defined with generic syntax
- [x] Cons…
-
The specifications [says](https://p4.org/wp-content/uploads/2024/10/P4-16-spec.html#sec-minsizeinbits)
> The method calls `minSizeInBits`, `minSizeInBytes`, `maxSizeInBits`, and `maxSizeInBytes` ca…
-
algebraic data types are a feature of many modern languages, including rust and typescript. They allow to express the union or intersection of types.
### Syntax in Typescript
```ts
type T = strin…