[Issue 10089] New: Strange function call error message with specified module
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 15 09:51:53 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10089
Summary: Strange function call error message with specified
module
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: diagnostic
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2013-05-15 09:51:52 PDT ---
import std.stdio, std.range;
void main() {
std.string.chunks("abcdef", 2);
}
Gives the error messages:
test.d(3): Error: std.stdio.chunks at
...\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(2270) conflicts with
std.range.chunks(Source)(Source source, size_t chunkSize) at
...\dmd2\windows\bin\..\..\src\phobos\std\range.d(6520)
test.d(3): Error: constructor std.stdio.chunks.this (File f, uint size) is not
callable using argument types (void)
Expected error messages should say that there is no std.string.chunks.
--
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