Thread overview | ||||||
---|---|---|---|---|---|---|
|
May 26, 2013 [Issue 10171] New: Unexpected error "cannot infer type from overloaded function symbol" | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10171 Summary: Unexpected error "cannot infer type from overloaded function symbol" 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-05-26 01:50:08 PDT --- In this code, x is a variable and is not overloaded function symbol. struct Foo {} struct B(T) { static Foo x; } void main() { auto mp = &B!(B!int).x; // line 7 } test.d(7): Error: cannot infer type from overloaded function symbol & x -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 26, 2013 [Issue 10171] Unexpected error "cannot infer type from overloaded function symbol" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10171 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-05-26 02:02:50 PDT --- https://github.com/D-Programming-Language/dmd/pull/2077 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 26, 2013 [Issue 10171] Unexpected error "cannot infer type from overloaded function symbol" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10171 --- Comment #2 from github-bugzilla@puremagic.com 2013-05-26 07:54:29 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/fc49e9a3f77c4c92e4198fd0958b6254dae73091 fix Issue 10171 - Unexpected error "cannot infer type from overloaded function symbol" https://github.com/D-Programming-Language/dmd/commit/7db4045502a28aaf7eead9d56f3907d31945ef58 Merge pull request #2077 from 9rnsr/fix10171 Issue 10171 - Unexpected error "cannot infer type from overloaded function symbol" -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 26, 2013 [Issue 10171] Unexpected error "cannot infer type from overloaded function symbol" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10171 Andrei Alexandrescu <andrei@erdani.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrei@erdani.com 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