-
E.g. in the query: ```1 ->
-
### Example
```nim
import macros
proc thing(s: string) =
echo s
template dotemplate(name) =
thing(name)
macro dothings(site: varargs[untyped]): untyped =
let name = site.lineInfoOb…
-
`io_surface::new` gets the dictionary with default parameters, but the only way to create one appears to be with `from_CFType_pairs` that is strongly typed, and I don't see a way to get to untyped var…
kvark updated
6 years ago
-
Sometimes it's necessary to pass parameters to macros untyped (e.g. if a parameter is a closure that refers to variables that are introduced by a macro). However, current implementation doesn't suppor…
-
Thanks for the tutorial, I'm going through the vidoes and trying to learn Hooks with **typescript**.
How do I get rid of the below error? Would be great to know.
https://stackoverflow.com/quest…
-
### 🐛 Describe the bug
Mypy's configuration `disallow_untyped_defs` makes it illegal to define functions without annotating the arguments / return types of the function. It is still possible to make …
-
```
> git clone https://github.com/DataDog/dd-trace-py
> cd dd-trace-py
> pip install -e .
> pip install mypy
> mypy --strict --check-untyped-defs | grep threading.py
ddtrace/profiling/collector…
-
Adding a `From for f32` impl breaks some inference that currently works. From https://github.com/rust-lang/rust/issues/123824:
```rust
fn main() {
let x = f32::from(3.14);
}
```
The new…
-
### Example
```nim
import macros
macro notBug(n: untyped): untyped =
let node = n[0] # skip the nnkStmtList
node[1] = newLit(2) # replace 0 with 2
result = n
macro bug(n: untyped): …
ghost updated
2 weeks ago
-
1 `ORM::as_object() ` normalize values by `$this->get_typed($column)`, but `ORM::as_array()` dont do this.
https://github.com/koseven/koseven/blob/devel/modules/orm/classes/KO7/ORM.php#L978
2 `ORM::…