Incorrect codegen when importing nre with C++ backend (commit 8494338) #5081

Closed
nigredo-tori opened this Issue Dec 1, 2016 · 0 comments

Projects

None yet

1 participant

@nigredo-tori
Contributor

Code:

import nre

Error message:

Error: execution of an external compiler program 'g++ -c  -w -w -fpermissive  -I/home/dmitry/work/nim/lib -o /home/dmitry/work/tmp/nimcache/stdlib_nre.o /home/dmitry/work/tmp/nimcache/stdlib_nre.cpp' failed with exit code: 1

/home/dmitry/work/tmp/nimcache/stdlib_nre.cpp:653:9: error: braces around scalar initializer for type ‘Keyvaluepairseq164035*’
 ((NI) 7)}
         ^
FAILURE

This was introduced by the last commit: 8494338

@Araq Araq added a commit that closed this issue Dec 1, 2016
@Araq Araq fixes #5081 2a7b4fd
@Araq Araq closed this in 2a7b4fd Dec 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment