[dmd-internals] [D-Programming-Language/dmd] ef6d2e: Issue 4517 - final switch over with base type allo...
GitHub
noreply at github.com
Mon Jul 16 23:34:10 PDT 2012
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: ef6d2e16bebb7c4a0a17eb2c34af2657c9996b38
https://github.com/D-Programming-Language/dmd/commit/ef6d2e16bebb7c4a0a17eb2c34af2657c9996b38
Author: Daniel Murphy <yebblies at gmail.com>
Date: 2012-04-13 (Fri, 13 Apr 2012)
Changed paths:
M src/statement.c
A test/fail_compilation/fail4517.d
Log Message:
-----------
Issue 4517 - final switch over with base type allows missing values
Integral promotions kills the type of the condition and the case expressions, so keep track of the original enum type and allow cases to match if they evaluate to the same integer expression.
Fixes issue4517
Commit: 00778d310b6980ac7068398f4dac22aa4860b8d4
https://github.com/D-Programming-Language/dmd/commit/00778d310b6980ac7068398f4dac22aa4860b8d4
Author: Don Clugston <dclugston at googlemail.com>
Date: 2012-07-16 (Mon, 16 Jul 2012)
Changed paths:
M src/statement.c
A test/fail_compilation/fail4517.d
Log Message:
-----------
Merge pull request #662 from yebblies/issue4517
Issue 4517 - final switch over with base type allows missing values
Compare: https://github.com/D-Programming-Language/dmd/compare/716aa6e0aa89...00778d310b69
More information about the dmd-internals
mailing list