Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
March 09, 2013 [Issue 9672] New: mixin within cyclic import causes undefined properties | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9672 Summary: mixin within cyclic import causes undefined properties Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: r.sagitario@gmx.de --- Comment #0 from Rainer Schuetze <r.sagitario@gmx.de> 2013-03-09 05:46:49 PST --- This code compiles with dmd 2.062, but not with git-head: //////////////////////////////////////////////////// module interpret; import node; class Type { mixin ForwardCtor!(); } //BasicType only created for standard types associated with tokens class BasicType : Type { static Type createType() { return null; } } class ValueT(T) { Type getType() { return BasicType.createType(); } } class CharValue : ValueT!char { string toStr() { return null; } } //////////////////////////////////////////////////// module node; import interpret; mixin template ForwardCtor() { } //////////////////////////////////////////////////// "dmd -c interpret.d" works. "dmd -c node.d" causes interpret.d(23): Error: no property 'createType' for type 'interpret.BasicType' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 10, 2013 [Issue 9672] mixin within cyclic import causes undefined properties | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | http://d.puremagic.com/issues/show_bug.cgi?id=9672 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-10 07:57:04 PDT --- https://github.com/D-Programming-Language/dmd/pull/1734 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 10, 2013 [Issue 9672] mixin within cyclic import causes undefined properties | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | http://d.puremagic.com/issues/show_bug.cgi?id=9672 --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-03-10 07:58:48 PDT --- *** Issue 9675 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 10, 2013 [Issue 9672] mixin within cyclic import causes undefined properties | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | http://d.puremagic.com/issues/show_bug.cgi?id=9672 --- Comment #3 from github-bugzilla@puremagic.com 2013-03-10 11:44:08 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c4940e0a61d88644b1b7f15b3db631bbeac4345c fix Issue 9672 - mixin within cyclic import causes undefined properties https://github.com/D-Programming-Language/dmd/commit/6ae83db963fb8e38b100c71d331803da531c0b93 Merge pull request #1734 from 9rnsr/fix9672 [REG2.063a] Issue 9672 - mixin within cyclic import causes undefined properties -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 10, 2013 [Issue 9672] mixin within cyclic import causes undefined properties | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | http://d.puremagic.com/issues/show_bug.cgi?id=9672 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Version|unspecified |D2 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