metagn
metagn
There has been a "workaround" for this for a while by generating AST in the form of: ```nim type _ = (; # nkStmtListType node type ABC = enum ABC1,...
A `strutils` import is missing in `peutil.nim` for `parseInt`. This is the proper error given after changing the `SomeInteger` return type to `int`. It still fails after adding the import...
Generic procs cannot really be exported because Nim differentiates between instantiations so it would generate multiple functions with the same name on the backend, and it has to be manually...
Likely related #24261
This: ```nim import options type NodeObj[T] = object value: T previous: Option[ref NodeObj[T]] next: Option[ref NodeObj[T]] Node[T] = ref NodeObj[T] LinkedList*[T] = object ## A doubly linked list. first: Option[Node[T]]...