-
This issue was triggered by the `union ccb` in sys/cam/cam_ccb.h with `-cheri-bounds=subobject-safe`.
One of the member types is allocated and well bounded, then cast to `union ccb *`.
When the poin…
-
Using quicktype in combination with JSON Schema and typescript leads to the following issue:
_anyOf_ does not convert to a union type in some cases.
E.g.
```
{
"$ref": "#/definitions/Test…
-
### 🔍 Search Terms
"strikethrough deprecated prop jsx", "strikethrough deprecated prop react", "strikethrough deprecated property jsx", "strikethrough deprecated property react", "deprecated property…
-
For example, `dnf5 advisory list --security --advisory-severities=critical` shows all advisories that are either or type security or have critical severity (so even e.g. moderate securities or critica…
-
The `typed_descriptors.mypy_plugin` does not work for typed descriptors with union type:
```py
class MyClass:
x = Attr(int|str) # Need type annotation for "x"
reveal_type(MyClass.x)
# Rev…
sg495 updated
7 months ago
-
Some types have a finite number of possible inhabitants. Examples include `builtins.bool` (the inhabitants are `Literal[True]` and `Literal[False]`) and enum types. For such types, we should consider …
-
If I write a tuple type like `[Integer,Integer,Integer]`, then hovering it in the IDE I will see `Integer|Integer|Integer|Nothing[]`. That's because when I'm building these tuple types I'm not yet in …
-
The designated initializer feature in mbeddr should be reworked because various Exceptions are thrown when you play around with such a thing. A concrete example is this one:
struct Person {
int a…
-
If I add this to `expectType.ts.lint`:
```ts
// $ExpectType "foo" | "bar"
declare let t: 'foo' | 'bar';
```
and run `npm run build && npm run test`, then I get the following error:
```
…
danvk updated
5 years ago
-
Or any idea?
I have some attempts in this, but I have some problems. (about type guard)