Skip to content

Commit 8cd57e5

Browse files
authored
make Parameters optional in TypeFunction
A function can have no arguments.
1 parent 4dbac37 commit 8cd57e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/abi.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ $(H3 $(LNAME2 type_mangling, Type Mangling))
454454
$(B Nh) $(GLINK Type)
455455

456456
$(GNAME TypeFunction):
457-
$(GLINK CallConvention) $(GLINK FuncAttrs)$(OPT) $(GLINK Parameters) $(GLINK ParamClose) $(GLINK Type)
457+
$(GLINK CallConvention) $(GLINK FuncAttrs)$(OPT) $(GLINK Parameters)$(OPT) $(GLINK ParamClose) $(GLINK Type)
458458

459459
$(GNAME CallConvention):
460460
$(B F) $(GREEN // D)

0 commit comments

Comments
 (0)