ringabout
ringabout
fixes https://github.com/nim-lang/Nim/issues/19967 - [x] add a testcase for emums
fixes https://github.com/nim-lang/Nim/issues/10542 ref https://github.com/nim-lang/RFCs/issues/471
```nim type std_string {.importcpp: "std::string", header: "".} = object proc constructStdString(s: cstring): std_string {.importcpp: "std::string(@)", constructor, header: "".} try: try: try: raise newException(KeyError, "msg1") except KeyError: raise newException(ValueError, "msg2") finally:...
fixes #19986
fixes #20155; I tried my best and had to do some hacks with typetrait support to my knowledge. `template repr*(x: distinct): string` will match range types with distinct subtypes. To...
```nim type BaseUint* = SomeUnsignedInt or byte Ct*[T] = distinct T ## Constant-Time wrapper ## Only constant-time operations in particular the ternary operator equivalent ## condition: if true: a else:...
```nim proc simple() = var x = "string here" echo locals() simple() ```