[Issue 8354] Some missing "import std.math to use ^^ operator" error messages
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 10 01:00:39 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8354
Puneet Goel <puneet at coverify.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |puneet at coverify.org
Resolution|FIXED |
--- Comment #4 from Puneet Goel <puneet at coverify.org> 2013-01-10 01:00:20 PST ---
If std.math is imported in one module and power (^^) expression is used in
another module and both the modules are compiled together, we again see the
same confusing error:
bar.d(1): Error: undefined identifier 'std'
Here is the testcase (compile with -- dmd foo.d bar.d):
// File foo.d
import std.math;
void foo() { }
// File bar.d
void bar(int i) { 2^^i; }
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list