summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-09-10 23:35:40 +0800
committerGitHub <noreply@github.com>2023-09-10 17:35:40 +0200
commitf8f6a3c9269da2862f74e53858cf9c0072ebbdc7 (patch)
tree9a444b306f6e4fd92c332c9707ff9482492b5b78 /lib/system
parent8032f252b2a338b01129f6331b60da937e6df8bd (diff)
downloadNim-f8f6a3c9269da2862f74e53858cf9c0072ebbdc7.tar.gz
renderIr should print the actual return assign node (#22682)
follow up https://github.com/nim-lang/Nim/pull/10806

Eventually we need a new option to print high level IR. It's confusing
when I'm debugging the compiler without showing `return result = 1`
using the expandArc option.

For 
```nim
proc foo: int =
  return 2
```
It now outputs when expanding ARC IR
```nim
proc foo: int =
  return result = 2
```
Diffstat (limited to 'lib/system')
0 files changed, 0 insertions, 0 deletions