Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cpp codegen regression. Showstopper #10948

Closed
cooldome opened this issue Apr 2, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@cooldome
Copy link
Member

commented Apr 2, 2019

Regression is caused by the following change 0cc6e12
Added temporary variables for imported cpp types of C++ reference type and not initialised:

compiler_tretvar.cpp:149:15: error: 'T2_' declared as reference but not initialized std::string& T2_;

I will provide test and fix

cooldome added a commit to cooldome/Nim that referenced this issue Apr 2, 2019

@Araq Araq closed this in 734da95 Apr 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.