-
Consider the following example, where an abstract method is a generator:
```python
class AbstractFoo(ABC):
@abstractmethod
def some_generator(self):
raise NotImplementedError
…
-
Currently it's possible to define an N:N relation without defining the 1:N and N:1 relations between its two halves and the join table - but if you do so, you'll get a runtime error saying that both s…
-
### Package version
7.0.2
### Describe the bug
Hello,
I noticed that `router.resource` does not give Typescript error when the given controller does not implement all the needed REST metho…
-
SQLite is [flexibly typed](https://sqlite.org/quirks.html#flexible_typing), a philosophy which doesn't harmonize well with Rust's preference for strong types.
Despite this flexible typing, SQLite p…
-
Elsewhere (*e.g.* #7, #208, #328) I have talked about how I don't like the `run` command and want to get rid of it. However, I'd like to explore an alternative: maybe I don't like it because it's not…
-
# Suggestion
## 🔍 Search Terms
dead code typecheck elimination
## ✅ Viability Checklist
My suggestion meets these guidelines:
* [x] This wouldn't be a breaking change in existing Ty…
-
It would be really sick if you could explicetly define types for variables, as to prevent unsafe operations by accident.
## Where would this be a case?
The most obvious usecase would be for variab…
-
**1: Enable Typechecking in CI**
We have recently begun adding type hints to our code.
However we currently don't check whether the type hints are correct, nor whether they are followed.
There …
-
As noted in #1728, `Value.deserialize` can be used to implement `cast`. Which might not seem so bad, except you can use it to completely subvert the type system. Here is a program which defines a term…
-
### Environment
------------------------------
- Operating System: Windows_NT
- Node Version: v18.12.1
- Nuxt Version: 3.7.0
- CLI Version: 3.7.0
- Nitro Version: 2.6.1
- Packag…