Skip to content

Comments

Bug 5722: Critical regression#17

Closed
donc wants to merge 8 commits intodlang:masterfrom
don-clugston-sociomantic:master
Closed

Bug 5722: Critical regression#17
donc wants to merge 8 commits intodlang:masterfrom
don-clugston-sociomantic:master

Conversation

@donc
Copy link
Collaborator

@donc donc commented Mar 18, 2011

This is a critical wrong-code regression. Should be given top priority, and we should even consider an emergency compiler release.
The code for 'Cat' needs to be copied into D1 as well.

unknown and others added 8 commits February 24, 2011 16:15
It's slightly more general than in the bug report: any non-virtual function
cannot use override.
…t at compile time gives wrong result

This was caused by an incorrect fix to bug 4389. Concatenation needs to be
treated differently if it is a homogonenous concatentation (char[]~char,
wchar[]~char, dchar[]~dchar) compared to hetero concatenation (eg,
char[]~dchar).
Homo-concatenation should just use a simple append, ramming the bytes together;
hetero needs to do a UTF conversion before appending. Originally simple append
was used all the time; this was bug 4389. After the fix it used conversion all
the time, causing this regression.
@dnadlinger
Copy link
Contributor

Just a quick suggestion: If you rebase your feature (resp. bugfix) branch on the remote master instead of merging in the changes while privately working on it, there aren't any merge commits cluttering up the commit history (and pull request).

@WalterBright
Copy link
Member

Please have separate pull requests for each issue. I don't know how to pull an individual commit, so I just did them manually.

@dnadlinger
Copy link
Contributor

@WalterBright: You can just »fetch« the branch instead of »pull«ing it and then »cherry-pick« the commit you want to have, e.g. »git cherry-pick 66c8899«.

Having separate pull requests for each issue is still a good idea though.

@WalterBright
Copy link
Member

Thanks for the tip. Can you give me the exact seqence of commands to do the fetch as well as the cherry-pick? Sorry for my git lameness.

@dnadlinger
Copy link
Contributor

No problem – for this case, you could just do git fetch https://github.com/donc/dmd.git and git cherry-pick 66c8899377, although you might want to set up a proper remote as described on the pull request help page if you expect to pull from the repository in question more than once.

If you are working with GitHub a lot, tools like hub which add GitHub awareness to Git might be interesting for you – they allow you to do things like git fetch donc (without specifying the full path), cherry-pick directly from GitHub commit page URLs, and other nifty syntax sugar.

@walter
Copy link

walter commented Mar 29, 2011

@klickverbot, use @WalterBright instead of my username, please.

@donc
Copy link
Collaborator Author

donc commented Mar 30, 2011

Have a look at the 'fork queue' on GitHub. You can select individual
commits from the web page. It does all the cherry picking for you --
very very simple.

On 29 March 2011 23:31, WalterBright
reply@reply.github.com
wrote:

Please have separate pull requests for each issue. I don't know how to pull an individual commit, so I just did them manually.

Reply to this email directly or view it on GitHub:
#17 (comment)

@WalterBright
Copy link
Member

Thanks, Don, that's what I needed.

@donc donc closed this Apr 8, 2011
UplinkCoder added a commit to UplinkCoder/dmd that referenced this pull request Aug 14, 2016
UplinkCoder added a commit to UplinkCoder/dmd that referenced this pull request Aug 31, 2016
UplinkCoder added a commit to UplinkCoder/dmd that referenced this pull request Sep 1, 2016
UplinkCoder added a commit to UplinkCoder/dmd that referenced this pull request Sep 4, 2016
UplinkCoder added a commit to UplinkCoder/dmd that referenced this pull request Sep 19, 2016
UplinkCoder added a commit to UplinkCoder/dmd that referenced this pull request Sep 25, 2016
MartinNowak added a commit to MartinNowak/dmd that referenced this pull request Feb 25, 2017
MartinNowak added a commit to MartinNowak/dmd that referenced this pull request Feb 25, 2017
MartinNowak added a commit to MartinNowak/dmd that referenced this pull request Feb 25, 2017
MartinNowak added a commit to MartinNowak/dmd that referenced this pull request Feb 25, 2017
MartinNowak added a commit to dlang-test/dmd that referenced this pull request Feb 25, 2017
MartinNowak added a commit to dlang-test/dmd that referenced this pull request Feb 25, 2017
MartinNowak added a commit to dlang-test/dmd that referenced this pull request Feb 25, 2017
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.

5 participants