Bug 22047 – Inconsistent grammar parsing function types in parameters vs. other contexts

Status
NEW
Severity
minor
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-06-20T00:09:38Z
Last change time
2024-12-13T19:17:13Z
Assigned to
No Owner
Creator
Vladimir Panteleev
Moved to GitHub: dmd#19951 →

Comments

Comment #0 by dlang-bugzilla — 2021-06-20T00:09:38Z
extern(C) pure nothrow @safe @nogc void function() p; // OK alias extern(C) pure nothrow @safe @nogc void function() a; // OK alias b = extern(C) pure nothrow @safe @nogc void function() p; // OK void fun(extern(C) pure nothrow @safe @nogc void function() p); // Error
Comment #1 by robert.schadek — 2024-12-13T19:17:13Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19951 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB