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

fix #16265; fix #13999 (HCR on OSX); cgen now does not line wrap string litterals #16329

Merged
merged 7 commits into from
Dec 14, 2020

Conversation

timotheecour
Copy link
Member

@timotheecour timotheecour commented Dec 12, 2020

When 2 hacks interact badly you get those kind of bugs...

This was painful to debug...

@timotheecour timotheecour changed the title fix #16265: cgen now does not line wrap string litterals which, in combination with other hacks, caused a really obscure looking bug fix #16265; fix #13999 (HCR on OSX); cgen now does not line wrap string litterals Dec 12, 2020
@timotheecour timotheecour marked this pull request as draft December 12, 2020 08:35
@timotheecour timotheecour marked this pull request as ready for review December 13, 2020 02:10
@Araq Araq merged commit 4850f9b into nim-lang:devel Dec 14, 2020
@Araq
Copy link
Member

Araq commented Dec 14, 2020

I don't like long string literals when I have to look at the C code so some compromise would be nice to have but of course a bugfix is hard to argue about.

@timotheecour timotheecour deleted the pr_cgen_nowrap_strings branch December 14, 2020 10:37
mildred pushed a commit to mildred/Nim that referenced this pull request Jan 11, 2021
…t line wrap string litterals (nim-lang#16329)

* fix nim-lang#16265: cgen now does not line wrap string litterals which, in combination with other hacks, caused a really obscure looking bug

* fix nim-lang#13999; nimhcr_integration.nim now works for osx

* try to make appveyor CI disappear

* disable openbsd + add diagnostic for openbsd

* enable for openbsd

* PTEMP

* re-disable openbsd
@timotheecour timotheecour mentioned this pull request Mar 11, 2021
4 tasks
ardek66 pushed a commit to ardek66/Nim that referenced this pull request Mar 26, 2021
…t line wrap string litterals (nim-lang#16329)

* fix nim-lang#16265: cgen now does not line wrap string litterals which, in combination with other hacks, caused a really obscure looking bug

* fix nim-lang#13999; nimhcr_integration.nim now works for osx

* try to make appveyor CI disappear

* disable openbsd + add diagnostic for openbsd

* enable for openbsd

* PTEMP

* re-disable openbsd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HCR depends on nimcachedir.len HCR not working on OSX
2 participants