Thread overview | ||||||
---|---|---|---|---|---|---|
|
May 04, 2012 [Issue 8032] New: `mixin template` before virtual method with same method causes an error | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8032 Summary: `mixin template` before virtual method with same method causes an error 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: verylonglogin.reg@gmail.com --- Comment #0 from Denis <verylonglogin.reg@gmail.com> 2012-05-04 16:04:08 MSD --- This doesn't compile if `mixin template` is declared before virtual method `f`: --- mixin template T() { void f() { } } class A { mixin T; // Named mixin causes the error too void f() { } } class B : A { override void f() { } } --- Error: class main.B use of main.A.f() hidden by B is deprecated -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 04, 2012 [Issue 8032] `mixin template` before virtual method with same method causes an error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=8032 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-05-04 08:55:36 PDT --- https://github.com/D-Programming-Language/dmd/pull/925 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 04, 2012 [Issue 8032] `mixin template` before virtual method with same method causes an error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=8032 --- Comment #2 from github-bugzilla@puremagic.com 2012-05-04 11:11:24 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/741b88c6a81320237c0a3cdd312238d0fcb20e9e fix Issue 8032 - `mixin template` before virtual method with same method causes an error https://github.com/D-Programming-Language/dmd/commit/b488853f4d3617945851d5d0a2ac20ccb7dab631 Merge pull request #925 from 9rnsr/fix8032 Issue 8032 - `mixin template` before virtual method with same method causes an error -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 10, 2012 [Issue 8032] `mixin template` before virtual method with same method causes an error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=8032 --- Comment #3 from github-bugzilla@puremagic.com 2012-05-10 11:16:51 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/634453fc73909ee83d718e884604aa58d76c96ee fix Issue 8032 test, for order independence -- 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