[Issue 5165] compiler add a cast and then complain that the cast have no effect, giving no .o file
http://d.puremagic.com/issues/show_bug.cgi?id=5165 Don changed: What|Removed |Added Status|NEW |RESOLVED CC||clugd...@yahoo.com.au Resolution||INVALID -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5364] optimizer kills high dword of -1
http://d.puremagic.com/issues/show_bug.cgi?id=5364 Don changed: What|Removed |Added Keywords||wrong-code Severity|normal |critical -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5386] Initialising out float parameter causes FPU exception
http://d.puremagic.com/issues/show_bug.cgi?id=5386 Don changed: What|Removed |Added Keywords||performance CC||clugd...@yahoo.com.au Severity|normal |major -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5392] Method with template this parameter doesn't work as a property
http://d.puremagic.com/issues/show_bug.cgi?id=5392 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment #1 from Stanislav Blinov 2010-12-30 14:44:11 PST --- Similar things have been reported before, though I'm not sure how close the relation is: http://d.puremagic.com/issues/show_bug.cgi?id=4501 http://d.puremagic.com/issues/show_bug.cgi?id=2691 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4702] Long Postfix not working with cross-module overloading
http://d.puremagic.com/issues/show_bug.cgi?id=4702 --- Comment #1 from Andrej Mitrovic 2010-12-30 14:12:29 PST --- OOPS! That example code is completely wrong, please diregard it. This is the proper one which should work but doesn't: main.d: import std.stdio : writeln; import foo; // void fun(int x) import bar; // void fun(long x) void main() { auto y = 10L; fun(y); // ok, goes to bar.fun writeln(typeid(10L)); // writes long fun(10L); // error: bar.fun conflicts with foo.fun } foo.d: void fun(int x) { } bar.d: void fun(long x) { } This only happens with literals and when the two fun methods are defined in separate modules. If the fun methods are defined directly in main(), there's no error. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5392] New: Method with template this parameter doesn't work as a property
http://d.puremagic.com/issues/show_bug.cgi?id=5392 Summary: Method with template this parameter doesn't work as a property Product: D Version: D2 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: d...@me.com --- Comment #0 from Jacob Carlborg 2010-12-30 14:07:00 PST --- The following code fails to compile: class A { T foo (this T) () { return new T; } } class B : A { } void main () { auto b = new B; B b2 = b.foo; } With the error message: main.d(16): Error: b.foo(this T) has no value This code works: auto b2 = b.foo; // using auto B b2 = b.foo(); // using parentheses -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 401] add more std.gc APIs, e.g. std.gc.allocatedMemory();
http://d.puremagic.com/issues/show_bug.cgi?id=401 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |ASSIGNED CC||and...@metalanguage.com AssignedTo|nob...@puremagic.com|s...@invisibleduck.org -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 150] std.gc.minimize doesn't minimize physical memory usage
http://d.puremagic.com/issues/show_bug.cgi?id=150 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |ASSIGNED CC||and...@metalanguage.com AssignedTo|nob...@puremagic.com|s...@invisibleduck.org --- Comment #3 from Andrei Alexandrescu 2010-12-30 12:52:42 PST --- Assigning this to Sean. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5354] formatValue: range templates introduce 3 bugs related to class & struct cases
http://d.puremagic.com/issues/show_bug.cgi?id=5354 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |ASSIGNED CC||and...@metalanguage.com AssignedTo|nob...@puremagic.com|and...@metalanguage.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5390] Make it possible to test whether a type is an instantiation of a particular template
http://d.puremagic.com/issues/show_bug.cgi?id=5390 Michal Minich changed: What|Removed |Added CC||michal.min...@gmail.com --- Comment #3 from Michal Minich 2010-12-30 12:32:30 PST --- This works: import std.stdio; class Dict (K, V) {} void main () { Dict!(string, int) dict; Foo (dict); } template Foo (C : T!(P1, P2), alias T, P1, P2) { void Foo (C container) { writeln(C.stringof); // Dict writeln(T.stringof); // Dict(K, V) writeln(P1.stringof); // string writeln(P2.stringof); // int } } Unfortunately it seems not to work with variadic templates, so overloads for parameter P# need to be created currently, to make it practically generic. If needed, this template can be called recursively in case P# is template instance. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5354] formatValue: range templates introduce 3 bugs related to class & struct cases
http://d.puremagic.com/issues/show_bug.cgi?id=5354 Rob Jacques changed: What|Removed |Added Priority|P2 |P3 CC||sandf...@jhu.edu Platform|x86 |All OS/Version|Linux |All Severity|blocker |major --- Comment #11 from Rob Jacques 2010-12-30 12:26:10 PST --- I've decreased the importance of this as there are work arounds. As for my thoughts, this bug is causing a major loss of function in my update to std.variant and is going to cause major issues with any type that defines/needs a permissive opDispatch. Conceptually, I believe formatValue makes a major mistake by assuming that just because a type satisfies isRange, that it is, in fact a range. So I believe that if toString is present, it should take priority. I don't see a problem with ranges that return their own types (i.e. trees) or the current method of formating in general. (Note that the patch only deals with ElementType!T == T and not the toString issue) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5206] stat_t is not the same as struct stat
http://d.puremagic.com/issues/show_bug.cgi?id=5206 Iain Buclaw changed: What|Removed |Added CC||ibuc...@ubuntu.com --- Comment #2 from Iain Buclaw 2010-12-30 09:40:34 PST --- This should really be set to true for all glibc systems. However, the current implementation is buggy: timespecst_atim; timespecst_mtim; timespecst_ctim; alias st_atim.tv_sec st_atime; alias st_mtim.tv_sec st_mtime; alias st_ctim.tv_sec st_ctime; The three aliases aren't actually usable, because: Error: struct core.sys.posix.sys.stat.stat_t 'tv_sec' is not a member Error: struct core.sys.posix.sys.stat.stat_t member tv_sec is not accessible Error: this for tv_sec needs to be type timespec not type stat_t Regards -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5391] New: Crash with recursive alias declaration
http://d.puremagic.com/issues/show_bug.cgi?id=5391 Summary: Crash with recursive alias declaration Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2010-12-30 04:44:25 PST --- A D2 program: alias Foo Foo; alias Foo Bar; void main() {} DMD 2.051 shows this and then crashes: test.d(1): Error: alias test3.Foo recursive alias declaration -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---