-
Generic functions in Checked C accept type parameters. There are two function specifiers that can be used for this.
* _Itype_for_any ()
* _For_any()
e.g.
_Itype_for_any(T1, T2) void * myfuncti…
-
I'm trying to a write a generic function that operates on either `string | []byte`. However, I'm unable to do so since the implementation of that function needs to depend on either `utf8.DecodeRune` o…
-
```rust
fn foo() {
const bar : T = T::default();
}
```
gives the following error (twice for some reason):
```
$ cargo +nightly build
Compiling arrys_sizeoof v0.1.0 (C:\work\trash\repr…
-
When there are multiple nested anonymous functions, some of which have comment before argument, the arguments without a comment are collapsed, which looks weird:
https://kamadorueda.com/alejandra/?…
-
In Variables, we have a lot of text defining how to handle a function that can be replaced by an arbitrary token sequence. In Values 5, we're adding several more functions that act similarly. I ended …
-
I'm using Oracle Linux 9 with kernel 5.14.0-427.13.1.el9_4.x86_64
I'm not able to compile the latest version of udmabuf
/u-dma-buf.c:2494:22: error: implicit declaration of function ‘device_add_…
-
**To Reproduce**
Run `mypy` (no options) on this file:
:warning: See [below](https://github.com/python/mypy/issues/13040#issuecomment-1170314136) for actual MWE. This is preserved here to preser…
-
The feature is to put actual type parameters (i.e. resolved, inferred ones) in `onHover` function signature hint. This lets you visually debug the type inference and find out what the formal parameter…
-
Adding these tests makes it neccessary to add example data for multiple spectra in long form and collections of spectra for all classes derived from `"generic.spct"` and from `"generic.mspct"`. Curren…
-
The following example shows the issue: https://psalm.dev/r/3e6b2451c3
both map and array_map act the same way, however, psalm complains about missing `@param` type declaration for the closure with …