Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
February 20, 2013 [Issue 9545] New: ICE with member template instantiation | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9545 Summary: ICE with member template instantiation Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: ice 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-02-19 20:18:48 PST --- struct S1 { template T(X) { alias T = X; } } void main() { auto x1 = S1.init.T!int; // ICE } Instead, compiler should report "int is not an expression" error. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 20, 2013 [Issue 9545] ICE with member template instantiation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=9545 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com Severity|normal |regression --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-02-19 20:22:56 PST --- (In reply to comment #0) > Instead, compiler should report "int is not an expression" error. Unfortunately this is a regression. 2.061: test.dd(4): Error: T is not a field, but a alias -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 20, 2013 [Issue 9545] [REG 2.063a] ICE with member template instantiation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=9545 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull Summary|ICE with member template |[REG 2.063a] ICE with |instantiation |member template | |instantiation --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-02-20 00:14:58 PST --- (In reply to comment #1) > (In reply to comment #0) > > Instead, compiler should report "int is not an expression" error. > > Unfortunately this is a regression. > > 2.061: test.dd(4): Error: T is not a field, but a alias Thanks. It's introduced by fixing bug 8238 in 2.063alpha. https://github.com/D-Programming-Language/dmd/pull/1678 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 20, 2013 [Issue 9545] [REG 2.063a] ICE with member template instantiation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=9545 --- Comment #3 from github-bugzilla@puremagic.com 2013-02-20 11:27:12 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6c1f52e9049af7295de7c70e84df868907b5cd43 fix Issue 9545 - ICE with member template instantiation https://github.com/D-Programming-Language/dmd/commit/4b83c91f91208fb63a5ce63b707c65766055d357 Merge pull request #1678 from 9rnsr/fix9545 [REG 2.063a] Issue 9545 - ICE with member template instantiation -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 21, 2013 [Issue 9545] [REG 2.063a] ICE with member template instantiation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=9545 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