It goes on: No stack traceback available To create a stacktrace, rerun compilation with ./koch temp c <file>
Naturally I haven't got one of those ie a ./koch
I have only "/usr/share/nim/doc/koch.txt"
Pointers/guidance please.
Hi @catswhiskers,
It's difficult to diagnose your problem when we can only see a small section of the code (and this section of code doesn't seem to be formatted properly).
When posting sections of code, you can use Markdown to format your code as a code-block.
But it would be more helpful if we could see the complete code. Is your code on Github or Bitbucket? Alternately, perhaps you can post a link to a Github Gist?
Best of all would be if you could distill this problem down to a small, self-contained section of code that triggers this internal error, then submit that as a Nim bug report so the Nim language devs can investigate it & fix it.
Sorry about formatting. Don't know markdown. This was c&p from vi session in xterm. All properly laid out. (Otherwise it won't compile :) Edit the entry and it looks ok. So there's a disjoint between the edit screen and what is displayed after submition that is beyond my control. It ought to honour n and mostly it has.
I thought that code was small. I've taken out everything in that block except the discard quit and it still happens. I'll try the bug report. Thanks
UPDATE : Phew it was my error (naturally). I'd tried using quit without either () or "message". Compiler messages led me erroneously to code "discard quit" and that's when I got to this forum.
echo 123
# Code here!
That generates:
echo 123
# Code here!
Next to the "Submit" button on the forum is a link labeled "Syntax Cheatsheet"; you should definitely check it out!