[Issue 19704] New: Segmentation fault in DMD
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 27 03:29:37 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19704
Issue ID: 19704
Summary: Segmentation fault in DMD
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: porton at narod.ru
$ dmd --version
DMD64 D Compiler v2.084.1
Copyright (C) 1999-2018 by The D Language Foundation, All Rights Reserved
written by Walter Bright
$ dmd -unittest -c test.d
test.d(14): Error: type int has no value
Segmentation fault (core dumped)
module test;
private string ProviderParamsCode(Fields...)() {
alias Types = stride!([Fields], 2);
}
mixin ProviderParamsCode!(int, "x", float, "y");
--
More information about the Digitalmars-d-bugs
mailing list