gccrs icon indicating copy to clipboard operation
gccrs copied to clipboard

Unify `AST::ExternalFunctionitem` with `AST::Function`

Open P-E-P opened this issue 1 year ago • 1 comments

The interface for both types is almost the same as well as the attributes. Since #2755 function body can now be optional. This means an ExternalFunctionItem could technically be replaced with a function.

One grey area remains: External function arguments cannot be pattern (unless it is a named variadic argument).

P-E-P avatar Jan 29 '24 17:01 P-E-P

Hello, Is anyone currently working on this issue? I want to work on this issue

0xn4utilus avatar Feb 01 '24 17:02 0xn4utilus

Closed in #2849

CohenArthur avatar Apr 15 '24 11:04 CohenArthur