[Issue 11948] New: Segfault using the word 'function' as function template parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 19 03:37:22 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11948
Summary: Segfault using the word 'function' as function
template parameter
Product: D
Version: D2
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: michaelpm394 at gmail.com
--- Comment #0 from michaelpm394 at gmail.com 2014-01-19 03:37:18 PST ---
E.g. thing!(function)();
Program received signal SIGSEGV, Segmentation fault.
0x081220c9 in FuncLiteralDeclaration::toCBuffer(OutBuffer*, HdrGenState*) ()
(gdb) bt
#0 0x081220c9 in FuncLiteralDeclaration::toCBuffer(OutBuffer*, HdrGenState*)
()
#1 0x0809f8f1 in TemplateInstance::toCBufferTiargs(OutBuffer*, HdrGenState*)
()
#2 0x08063283 in TypeInstance::toCBuffer2(OutBuffer*, HdrGenState*, int) ()
#3 0x08066cdb in TypeFunction::toCBufferWithAttributes(OutBuffer*,
Identifier*, HdrGenState*, TypeFunction*, TemplateDeclaration*) ()
#4 0x08066e93 in TypeFunction::toCBuffer(OutBuffer*, Identifier*,
HdrGenState*) ()
#5 0x080523a0 in Type::toChars() ()
#6 0x0807ecea in Parser::parseDeclarations(unsigned long long, unsigned char
const*) ()
#7 0x08070fa8 in Parser::parseDeclDefs(int, Dsymbol**) ()
#8 0x0807f40d in Parser::parseModule() ()
#9 0x0804f88c in Module::parse() ()
#10 0x0804c16f in tryMain(unsigned int, char const**) ()
#11 0x08049c5b in main ()
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list