-
Not sure if it is correct behaviour to include all possible union types, even the unused ones, to a generated type file.
When codegen is run for this query:
```ts
export const NEW_SKILL_CARD_SEARC…
-
# Bug report
`Type` and `Type|Type` are recognized as different types.
I assume these can be handled as the same type.
### Code snippet that reproduces the problem
https://phpstan.…
-
I've only rapidly read through the LLHD API a couple of times but, like LLVM, LLHD does not contain a union type constructor. In LLVM's case you're supposed to bit-cast (by value) or reinterpret-cast …
-
The following types work as expected:
```js
type Foo = number | string;
type Bar = Foo & number;
const bar: Bar = 123; // No error here
```
[Try](https://flow.org/try/#0PTAEAEDMBsHsHcBQAXAngBw…
-
I'm trying to use `Map` as a collection of message handlers. My setup code looks like this:
```javascript
type OkMessage = {
type: "ok",
result: string
}
type ErrorMessage = {
type: "er…
jhnns updated
7 years ago
-
Now Python 3.7 is the minimum, instead of:
```python
from typing import Union
a: Union[int, str]
```
You can use the more concise (PEP 604):
```python
from __future__ import annotations
…
-
**Is your feature request related to a specific package? Please specify.**
@ylfjuk-core/types
**Is your feature request related to a problem? Please describe.**
Provide more options regarding the…
-
This is a follow up to the discussion here: https://github.com/microsoft/win32metadata/issues/623
The issue is that some win32 pointer parameters accept more than just pointers, but Zig verifies po…
-
I recently found out that discrimated unions does not work well with aggregation in Marten:
https://stackoverflow.com/questions/56479902/f-marten-does-not-load-the-aggregate
For a given discrimin…
-
### What happens?
Perhaps this is a well-known issue, but in case not, contrast the result of these two queries:
```sql
with recursive cte(i,s) as (
select 1 as i, [[1, 2], [2, 3], [2, 3, …