-
```
/** @noSelf */
declare namespace Test {
export function testCallback void>(
callback: T,
): FunctionContainer;
}
testCallback(() => {});
```
This fails with `error TSTL: Unabl…
-
Hey there - I found this library looking for an answer to the same question posed in https://github.com/matsadler/magnus/issues/91. Essentially, I'm trying to create a Ruby native extension wrapper fo…
-
I have an entity with a generic type. If I use a derived type using a function to derive its range (e.g. `std_logic_vector(log2ceil(g_N_WORDS) -1 downto 0)` I get this error:
```vhdl
** Fatal: expre…
-
/kind cleanup
/help
**Describe the solution you'd like**
[A clear and concise description of what you want to happen.]
When using the builder from cotnroller runtime (Setup functions for `AddT…
-
# Suggestion
## 🔍 Search Terms
- array map generic callback
- object.freeze array map
## ✅ Viability Checklist
My suggestion meets these guidelines:
* [x] This wouldn't be a …
-
### Describe the release item
Serialize any type with macro `z_bytes_serialize`, similarly to `z_loan`
Related also to #451
Thanks @wyfo for the idea!
-
The following code fails to compile on main with a potentially confusing error message
```chapel
proc foo(args) {
record R {
var x: args.type;
}
var r = new R();
writeln(r.x);
}
…
-
...that can be re-used by other frameworks (e.g. autogen)
-
Is it possible to define generic classes and functions in Ć, like in Java, C#, and C++?
If Ć doesn't have generics yet, then the syntax could be based on C#, like this:
```
public class Generic…
-
Would be good to have generic functions for common input validation tasks. Even better to depend on a well-liked/tested library for this.
Example: checking for an integer > x, which happens in a no…