Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

Fix Bug 285: Wrong codegen on optimized strlen() #638

Merged
merged 1 commit into from Mar 11, 2018

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Mar 11, 2018

  • Adds the null terminator to the length in the compile-time string value.
  • Rewrite static array string literals as constant constructors, eg: "foo" -> {'f','o','o'}.

@ibuclaw ibuclaw merged commit 89aead4 into D-Programming-GDC:master Mar 11, 2018
@ibuclaw ibuclaw deleted the strlength branch March 11, 2018 22:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants