Thread overview | ||||||
---|---|---|---|---|---|---|
|
March 30, 2013 [Issue 9837] New: IFTI should consider enum base type | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9837 Summary: IFTI should consider enum base type Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: k.hara.pg@gmail.com --- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2013-03-30 08:30:40 PDT --- Test case: void main() { enum DA : string { a = "foo" } DA da; string bda = da; // works static assert(is(DA : string)); // works void fda1(string a) {} void fda2(T)(T[] a) {} fda1(da); // works fda2(da); // should work, but doesn't } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 30, 2013 [Issue 9837] IFTI should consider enum base type | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=9837 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-03-30 09:05:18 PDT --- https://github.com/D-Programming-Language/dmd/pull/1816 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 30, 2013 [Issue 9837] IFTI should consider enum base type | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=9837 --- Comment #2 from github-bugzilla@puremagic.com 2013-03-30 14:31:40 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/30f3945da66fdf019c491820d1f4286fa7f86318 fix Issue 9837 - IFTI should consider enum base type https://github.com/D-Programming-Language/dmd/commit/33a3d4f41ba3845d1651e95999c326647fae933c Merge pull request #1816 from 9rnsr/fix9837 Issue 9837 - IFTI should consider enum base type -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 31, 2013 [Issue 9837] IFTI should consider enum base type | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=9837 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation