LemonBoy
LemonBoy
> About nomenclature; there's a typo in the title (I think). Shouldn't the title be about downcasting; casting to a subclass is what failed. Indeed, please remember to fix the...
gdb assumes the pty/pipe descriptor is bidirectional, as you can see [here](https://github.com/bminor/binutils-gdb/blob/218bb9dcdbb8ee5a15977dc1ffe7ed7422803368/gdb/ui.c#L183). Vim, on the other hand, opens two simplex pipes for the in/out channels, hence the failure you're seeing....
I'm not an expert in ptys either, I've uploaded some code as proof of concept [here](https://github.com/LemonBoy/vim/commit/fed84233b085a8386eb467673d212deab24af3eb) to show that the gdb issue is fixed and that there's something wrong somewhere....
> It seems that we can remove the recursive parameter? ~~Nope, you still want to decide whether to do a shallow or deep comparison. You can change the condition to...
The quoting logic is broken, it's either not applied at all or is broken due to the use of verymagic (check `quote_meta`). I'm also not sure what verymagic is simplifying...
> could you provide some test cases which you get problem I'm not having any problem, I'm just reviewing the code. This small snippet generates a regexp with an unescaped...
The problem (?) is [here](https://github.com/nim-lang/Nim/blob/cc7479b70f3f6aeb066229ab451facf3f1eff77f/compiler/sigmatch.nim#L2031), I don't know much about the sigmatch internals to suggest a solution though.
That's not true. `@export` works in every output mode, you're probably using it wrong.
Here's your exported symbol: ``` zig build-exe x.zig readelf -s foo |& grep tx ``` If you want to have your symbols exported in the dynamic symbol table: ``` zig...
> Unfortunately, the binary produced by this method cannot be loaded by dlopen Because it's a binary and not a shared library? This is starting to sound a lot like...