[Issue 4529] New: dmd crash with writeln of functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 28 15:27:21 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4529
Summary: dmd crash with writeln of functions
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
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 2010-07-28 15:27:20 PDT ---
D2 code, compiled with dmd 2.047, causes a crash of the compiler:
import std.stdio;
void main() {
string a();
writeln(typeid(typeof(a)));
string function() b;
writeln(typeid(typeof(b)));
}
--
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