Stewart Gebbie

Results 20 comments of Stewart Gebbie

Hi, I've been working with LLVM 5.0.1 because it fixes some other bugs that I bumped into. So, I haven't tried to confirm that the bug also happens with LLVM...

I can verify the bug on OS X with LLVM 5.0.1 ``` sigma:~ stewart$ cd tmp/crasher/ sigma:crasher stewart$ ~/opt/pony/bleed/build/release/ponyc Building builtin -> /Users/stewart/opt/pony/bleed/packages/builtin Building . -> /Users/stewart/tmp/crasher Generating Reachability Selector...

Generating asm output from ponyc and correlating this with lldb I can see that the crash takes place on line 105 `cmpq %rax, (%rsi)` in the listing below. This seems...

Slowly trying to work through the code. I realise that this is still somewhat broad, but I think that I can narrow this down to code generated by `gentrace` in...

Just being hopeful, so retested following the fix for: #2735 but the bug still occurs for: ``` ponyc -v 0.22.6-20ea5ff [release] compiled with: llvm 5.0.1 -- cc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0...

https://github.com/ponylang/ponyc/issues/2237 appears to be a duplicate of this bug, but has been closed because this issue (#2741) has more recent notes.

Looking at the older #2237, it seems that the code snippet was simpler and probably easier to debug. So, for reference, here is the simpler code that causes the same...

In terms of naming, we could go with: `get_data`, which is not my favourite, but makes sense. Unfortunately, we can't use `data()` for backwards compatibility. We could also consider `payload()`...

I've started putting together the following PR: - https://github.com/ponylang/ponyc/pull/3923 which allows one the write the following: ```pony be dostuff(jdoc: JsonDoc iso) => _seq = _seq + 1 // update the...

> @sgebbie Since this changes the standard library, I think this will be required to go through the [RFC](https://github.com/ponylang/rfcs#when-you-need-to-follow-this-process) process. Cool, that makes sense. I am just going to add...