Skip to content

Commit 0c4a943

Browse files
authored
Merge pull request #2975 from ntrel/type-links
Fix Type links
2 parents f5558b1 + 1601229 commit 0c4a943

File tree

10 files changed

+58
-58
lines changed

10 files changed

+58
-58
lines changed

spec/class.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ $(GNAME BaseClassList):
3737
$(D :) $(GLINK Interfaces)
3838

3939
$(GNAME SuperClass):
40-
$(GLINK2 declaration, BasicType)
40+
$(GLINK2 type, BasicType)
4141

4242
$(GNAME Interfaces):
4343
$(GLINK Interface)
4444
$(GLINK Interface) $(D ,) $(I Interfaces)
4545

4646
$(GNAME Interface):
47-
$(GLINK2 declaration, BasicType)
47+
$(GLINK2 type, BasicType)
4848
)
4949

5050
$(P Classes consist of:)

spec/const3.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $(D_S Type Qualifiers,
44

55
$(HEADERNAV_TOC)
66

7-
$(P Type qualifiers modify a type by applying a $(GLINK2 declaration, TypeCtor).
7+
$(P Type qualifiers modify a type by applying a $(GLINK2 type, TypeCtor).
88
$(I TypeCtor)s are: $(D const), $(D immutable), $(D shared), and $(D inout).
99
Each applies transitively to all subtypes.
1010
)

spec/enum.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ $(GNAME EnumDeclaration):
1111
$(GLINK AnonymousEnumDeclaration)
1212

1313
$(GNAME EnumBaseType):
14-
$(GLINK2 declaration, Type)
14+
$(GLINK2 type, Type)
1515

1616
$(GNAME EnumBody):
1717
$(D {) $(GLINK EnumMembers) $(D })
@@ -47,7 +47,7 @@ $(GNAME AnonymousEnumMembers):
4747

4848
$(GNAME AnonymousEnumMember):
4949
$(GLINK EnumMember)
50-
$(GLINK2 declaration, Type) $(GLINK_LEX Identifier) $(D =) $(ASSIGNEXPRESSION)
50+
$(GLINK2 type, Type) $(GLINK_LEX Identifier) $(D =) $(ASSIGNEXPRESSION)
5151
)
5252

5353
$(P Enum declarations are used to define a group of constants.

spec/expression.dd

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -874,8 +874,8 @@ $(GNAME UnaryExpression):
874874
$(D +) $(I UnaryExpression)
875875
$(D !) $(I UnaryExpression)
876876
$(GLINK ComplementExpression)
877-
$(D $(LPAREN)) $(GLINK2 declaration, Type) $(D $(RPAREN) .) $(IDENTIFIER)
878-
$(D $(LPAREN)) $(GLINK2 declaration, Type) $(D $(RPAREN) .) $(GLINK2 template, TemplateInstance)
877+
$(D $(LPAREN)) $(GLINK2 type, Type) $(D $(RPAREN) .) $(IDENTIFIER)
878+
$(D $(LPAREN)) $(GLINK2 type, Type) $(D $(RPAREN) .) $(GLINK2 template, TemplateInstance)
879879
$(GLINK DeleteExpression)
880880
$(GLINK CastExpression)
881881
$(GLINK PowExpression)
@@ -900,12 +900,12 @@ $(H3 $(LNAME2 new_expressions, New Expressions))
900900

901901
$(GRAMMAR
902902
$(GNAME NewExpression):
903-
$(D new) $(I AllocatorArguments)$(OPT) $(GLINK2 declaration, Type)
903+
$(D new) $(I AllocatorArguments)$(OPT) $(GLINK2 type, Type)
904904
$(GLINK NewExpressionWithArgs)
905905

906906
$(GNAME NewExpressionWithArgs):
907-
$(D new) $(I AllocatorArguments)$(OPT) $(GLINK2 declaration, Type) $(D [) $(GLINK AssignExpression) $(D ])
908-
$(D new) $(I AllocatorArguments)$(OPT) $(GLINK2 declaration, Type) $(D $(LPAREN)) $(GLINK ArgumentList)$(OPT) $(D $(RPAREN))
907+
$(D new) $(I AllocatorArguments)$(OPT) $(GLINK2 type, Type) $(D [) $(GLINK AssignExpression) $(D ])
908+
$(D new) $(I AllocatorArguments)$(OPT) $(GLINK2 type, Type) $(D $(LPAREN)) $(GLINK ArgumentList)$(OPT) $(D $(RPAREN))
909909
$(GLINK2 class, NewAnonClassExpression)
910910

911911
$(GNAME AllocatorArguments):
@@ -1022,12 +1022,12 @@ $(H3 $(LNAME2 cast_expressions, Cast Expressions))
10221022

10231023
$(GRAMMAR
10241024
$(GNAME CastExpression):
1025-
$(D cast $(LPAREN)) $(GLINK2 declaration, Type) $(D $(RPAREN)) $(GLINK UnaryExpression)
1026-
$(D cast $(LPAREN)) $(GLINK2 declaration, TypeCtors)$(OPT) $(D $(RPAREN)) $(GLINK UnaryExpression)
1025+
$(D cast $(LPAREN)) $(GLINK2 type, Type) $(D $(RPAREN)) $(GLINK UnaryExpression)
1026+
$(D cast $(LPAREN)) $(GLINK2 type, TypeCtors)$(OPT) $(D $(RPAREN)) $(GLINK UnaryExpression)
10271027
)
10281028

10291029
$(P A $(I CastExpression) converts the $(I UnaryExpression)
1030-
to $(GLINK2 declaration, Type).)
1030+
to $(GLINK2 type, Type).)
10311031

10321032
-------------
10331033
cast(foo) -p; // cast (-p) to type foo
@@ -1214,7 +1214,7 @@ $(GNAME PostfixExpression):
12141214
$(I PostfixExpression) $(D ++)
12151215
$(I PostfixExpression) $(D --)
12161216
$(I PostfixExpression) $(D $(LPAREN)) $(GLINK ArgumentList)$(OPT) $(D $(RPAREN))
1217-
$(GLINK2 declaration, TypeCtors)$(OPT) $(GLINK2 declaration, BasicType) $(D $(LPAREN)) $(GLINK ArgumentList)$(OPT) $(D $(RPAREN))
1217+
$(GLINK2 type, TypeCtors)$(OPT) $(GLINK2 type, BasicType) $(D $(LPAREN)) $(GLINK ArgumentList)$(OPT) $(D $(RPAREN))
12181218
$(GLINK IndexExpression)
12191219
$(GLINK SliceExpression)
12201220
)
@@ -1375,8 +1375,8 @@ $(GNAME PrimaryExpression):
13751375
$(GLINK NewExpressionWithArgs)
13761376
$(GLINK2 declaration, FundamentalType) $(D .) $(IDENTIFIER)
13771377
$(GLINK2 declaration, FundamentalType) $(D $(LPAREN)) $(GLINK ArgumentList)$(OPT) $(D $(RPAREN))
1378-
$(GLINK2 declaration, TypeCtor) $(D $(LPAREN)) $(GLINK Type) $(D $(RPAREN)) $(D .) $(IDENTIFIER)
1379-
$(GLINK2 declaration, TypeCtor) $(D $(LPAREN)) $(GLINK Type) $(D $(RPAREN)) $(D $(LPAREN)) $(GLINK ArgumentList)$(OPT) $(D $(RPAREN))
1378+
$(GLINK2 type, TypeCtor) $(D $(LPAREN)) $(GLINK Type) $(D $(RPAREN)) $(D .) $(IDENTIFIER)
1379+
$(GLINK2 type, TypeCtor) $(D $(LPAREN)) $(GLINK Type) $(D $(RPAREN)) $(D $(LPAREN)) $(GLINK ArgumentList)$(OPT) $(D $(RPAREN))
13801380
$(GLINK2 type, Typeof)
13811381
$(GLINK TypeidExpression)
13821382
$(GLINK IsExpression)
@@ -1662,8 +1662,8 @@ $(H3 $(LNAME2 function_literals, Function Literals))
16621662

16631663
$(GRAMMAR
16641664
$(GNAME FunctionLiteral):
1665-
$(D function) $(D ref)$(OPT) $(GLINK2 declaration, Type)$(OPT) $(GLINK ParameterWithAttributes) $(OPT) $(GLINK FunctionLiteralBody2)
1666-
$(D delegate) $(D ref)$(OPT) $(GLINK2 declaration, Type)$(OPT) $(GLINK ParameterWithMemberAttributes) $(OPT) $(GLINK FunctionLiteralBody2)
1665+
$(D function) $(D ref)$(OPT) $(GLINK2 type, Type)$(OPT) $(GLINK ParameterWithAttributes) $(OPT) $(GLINK FunctionLiteralBody2)
1666+
$(D delegate) $(D ref)$(OPT) $(GLINK2 type, Type)$(OPT) $(GLINK ParameterWithMemberAttributes) $(OPT) $(GLINK FunctionLiteralBody2)
16671667
$(D ref)$(OPT) $(GLINK ParameterWithMemberAttributes) $(GLINK FunctionLiteralBody2)
16681668
$(GLINK FunctionLiteralBody)
16691669
$(IDENTIFIER) $(D =>) $(GLINK AssignExpression)
@@ -2006,7 +2006,7 @@ $(H3 $(LNAME2 typeid_expressions, Typeid Expressions))
20062006

20072007
$(GRAMMAR
20082008
$(GNAME TypeidExpression):
2009-
$(D typeid $(LPAREN)) $(GLINK2 declaration, Type) $(D $(RPAREN))
2009+
$(D typeid $(LPAREN)) $(GLINK2 type, Type) $(D $(RPAREN))
20102010
$(D typeid $(LPAREN)) $(GLINK Expression) $(D $(RPAREN))
20112011
)
20122012

@@ -2044,20 +2044,20 @@ $(H3 $(LNAME2 is_expression, IsExpression))
20442044

20452045
$(GRAMMAR
20462046
$(GNAME IsExpression):
2047-
$(D is $(LPAREN)) $(GLINK2 declaration, Type) $(D $(RPAREN))
2048-
$(D is $(LPAREN)) $(GLINK2 declaration, Type) $(D :) $(GLINK TypeSpecialization) $(D $(RPAREN))
2049-
$(D is $(LPAREN)) $(GLINK2 declaration, Type) $(D ==) $(GLINK TypeSpecialization) $(D $(RPAREN))
2050-
$(D is $(LPAREN)) $(GLINK2 declaration, Type) $(D :) $(GLINK TypeSpecialization) $(D ,) $(GLINK2 template, TemplateParameterList) $(D $(RPAREN))
2051-
$(D is $(LPAREN)) $(GLINK2 declaration, Type) $(D ==) $(GLINK TypeSpecialization) $(D ,) $(GLINK2 template, TemplateParameterList) $(D $(RPAREN))
2052-
$(D is $(LPAREN)) $(GLINK2 declaration, Type) $(IDENTIFIER) $(D $(RPAREN))
2053-
$(D is $(LPAREN)) $(GLINK2 declaration, Type) $(IDENTIFIER) $(D :) $(GLINK TypeSpecialization) $(D $(RPAREN))
2054-
$(D is $(LPAREN)) $(GLINK2 declaration, Type) $(IDENTIFIER) $(D ==) $(GLINK TypeSpecialization) $(D $(RPAREN))
2055-
$(D is $(LPAREN)) $(GLINK2 declaration, Type) $(IDENTIFIER) $(D :) $(GLINK TypeSpecialization) $(D ,) $(GLINK2 template, TemplateParameterList) $(D $(RPAREN))
2056-
$(D is $(LPAREN)) $(GLINK2 declaration, Type) $(IDENTIFIER) $(D ==) $(GLINK TypeSpecialization) $(D ,) $(GLINK2 template, TemplateParameterList) $(D $(RPAREN))
2047+
$(D is $(LPAREN)) $(GLINK2 type, Type) $(D $(RPAREN))
2048+
$(D is $(LPAREN)) $(GLINK2 type, Type) $(D :) $(GLINK TypeSpecialization) $(D $(RPAREN))
2049+
$(D is $(LPAREN)) $(GLINK2 type, Type) $(D ==) $(GLINK TypeSpecialization) $(D $(RPAREN))
2050+
$(D is $(LPAREN)) $(GLINK2 type, Type) $(D :) $(GLINK TypeSpecialization) $(D ,) $(GLINK2 template, TemplateParameterList) $(D $(RPAREN))
2051+
$(D is $(LPAREN)) $(GLINK2 type, Type) $(D ==) $(GLINK TypeSpecialization) $(D ,) $(GLINK2 template, TemplateParameterList) $(D $(RPAREN))
2052+
$(D is $(LPAREN)) $(GLINK2 type, Type) $(IDENTIFIER) $(D $(RPAREN))
2053+
$(D is $(LPAREN)) $(GLINK2 type, Type) $(IDENTIFIER) $(D :) $(GLINK TypeSpecialization) $(D $(RPAREN))
2054+
$(D is $(LPAREN)) $(GLINK2 type, Type) $(IDENTIFIER) $(D ==) $(GLINK TypeSpecialization) $(D $(RPAREN))
2055+
$(D is $(LPAREN)) $(GLINK2 type, Type) $(IDENTIFIER) $(D :) $(GLINK TypeSpecialization) $(D ,) $(GLINK2 template, TemplateParameterList) $(D $(RPAREN))
2056+
$(D is $(LPAREN)) $(GLINK2 type, Type) $(IDENTIFIER) $(D ==) $(GLINK TypeSpecialization) $(D ,) $(GLINK2 template, TemplateParameterList) $(D $(RPAREN))
20572057

20582058

20592059
$(GNAME TypeSpecialization):
2060-
$(GLINK2 declaration, Type)
2060+
$(GLINK2 type, Type)
20612061
$(D struct)
20622062
$(D union)
20632063
$(D class)

spec/function.dd

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ $(H3 Function declaration)
1010

1111
$(GRAMMAR
1212
$(GNAME FuncDeclaration):
13-
$(GLINK2 declaration, StorageClasses)$(OPT) $(GLINK2 declaration, BasicType) $(GLINK FuncDeclarator) $(GLINK FunctionBody)
13+
$(GLINK2 declaration, StorageClasses)$(OPT) $(GLINK2 type, BasicType) $(GLINK FuncDeclarator) $(GLINK FunctionBody)
1414
$(GLINK AutoFuncDeclaration)
1515

1616
$(GNAME AutoFuncDeclaration):
@@ -36,11 +36,11 @@ $(GNAME ParameterList):
3636
$(I VariadicArgumentsAttributes) $(D ...)
3737

3838
$(GNAME Parameter):
39-
$(I ParameterAttributes)$(OPT) $(GLINK2 declaration, BasicType) $(GLINK2 declaration, Declarator)
40-
$(I ParameterAttributes)$(OPT) $(GLINK2 declaration, BasicType) $(GLINK2 declaration, Declarator) $(D ...)
41-
$(I ParameterAttributes)$(OPT) $(GLINK2 declaration, BasicType) $(GLINK2 declaration, Declarator) = $(ASSIGNEXPRESSION)
42-
$(I ParameterAttributes)$(OPT) $(GLINK2 declaration, Type)
43-
$(I ParameterAttributes)$(OPT) $(GLINK2 declaration, Type) $(D ...)
39+
$(I ParameterAttributes)$(OPT) $(GLINK2 type, BasicType) $(GLINK2 declaration, Declarator)
40+
$(I ParameterAttributes)$(OPT) $(GLINK2 type, BasicType) $(GLINK2 declaration, Declarator) $(D ...)
41+
$(I ParameterAttributes)$(OPT) $(GLINK2 type, BasicType) $(GLINK2 declaration, Declarator) = $(ASSIGNEXPRESSION)
42+
$(I ParameterAttributes)$(OPT) $(GLINK2 type, Type)
43+
$(I ParameterAttributes)$(OPT) $(GLINK2 type, Type) $(D ...)
4444

4545
$(GNAME ParameterAttributes):
4646
$(I InOut)
@@ -51,7 +51,7 @@ $(GNAME ParameterAttributes):
5151

5252
$(GNAME InOut):
5353
$(D auto)
54-
$(GLINK2 declaration, TypeCtor)
54+
$(GLINK2 type, TypeCtor)
5555
$(D final)
5656
$(D in)
5757
$(D lazy)

spec/simd.dd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ $(HEADERNAV_TOC)
99
Vector types are a fixed array of floating or integer types, and
1010
vector operations operate simultaneously on them.)
1111

12-
$(P Specialized $(GLINK2 declaration, Vector) types provide access to them.)
12+
$(P Specialized $(GLINK2 type, Vector) types provide access to them.)
1313

14-
$(P The $(GLINK2 declaration, VectorBaseType) must be a $(DDSUBLINK arrays, static-arrays, Static Array).
14+
$(P The $(GLINK2 type, VectorBaseType) must be a $(DDSUBLINK arrays, static-arrays, Static Array).
1515
The $(GNAME VectorElementType) is the unqualified element type of the
1616
static array.
1717
The dimension of the static array is the number
@@ -24,7 +24,7 @@ $(HEADERNAV_TOC)
2424
)
2525

2626
$(BEST_PRACTICE Use the declarations in $(CORE_SIMD) instead of
27-
the language $(GLINK2 declaration, Vector) grammar.
27+
the language $(GLINK2 type, Vector) grammar.
2828
)
2929

3030
$(H2 $(LNAME2 core_simd, $(D core.simd)))
@@ -94,7 +94,7 @@ $(H3 $(LNAME2 conversions, Conversions))
9494

9595
$(P Vector types of the same size can be implicitly converted among
9696
each other, this is done as a reinterpret cast (a type paint).
97-
Vector types can be cast to their $(GLINK2 declaration, VectorBaseType).)
97+
Vector types can be cast to their $(GLINK2 type, VectorBaseType).)
9898

9999
$(P Integers and floating point values can be implicitly converted
100100
to their vector equivalents:)

spec/statement.dd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ $(GNAME IfStatement):
241241
$(GNAME IfCondition):
242242
$(EXPRESSION)
243243
$(D auto) $(GLINK_LEX Identifier) $(D =) $(EXPRESSION)
244-
$(GLINK2 declaration, TypeCtors) $(GLINK_LEX Identifier) $(D =) $(EXPRESSION)
245-
$(GLINK2 declaration, TypeCtors)$(OPT) $(GLINK2 declaration, BasicType) $(GLINK2 declaration, Declarator) $(D =) $(EXPRESSION)
244+
$(GLINK2 type, TypeCtors) $(GLINK_LEX Identifier) $(D =) $(EXPRESSION)
245+
$(GLINK2 type, TypeCtors)$(OPT) $(GLINK2 type, BasicType) $(GLINK2 declaration, Declarator) $(D =) $(EXPRESSION)
246246

247247
$(GNAME ThenStatement):
248248
$(PSSCOPE)
@@ -452,7 +452,7 @@ $(GNAME ForeachTypeList):
452452
$(GLINK ForeachType) , $(I ForeachTypeList)
453453

454454
$(GNAME ForeachType):
455-
$(GLINK ForeachTypeAttributes)$(OPT) $(GLINK2 declaration, BasicType) $(GLINK2 declaration, Declarator)
455+
$(GLINK ForeachTypeAttributes)$(OPT) $(GLINK2 type, BasicType) $(GLINK2 declaration, Declarator)
456456
$(GLINK ForeachTypeAttributes)$(OPT) $(GLINK_LEX Identifier)
457457
$(GLINK ForeachTypeAttributes)$(OPT) $(D alias) $(GLINK_LEX Identifier)
458458

@@ -462,7 +462,7 @@ $(GNAME ForeachTypeAttributes)
462462

463463
$(GNAME ForeachTypeAttribute):
464464
$(D ref)
465-
$(GLINK2 declaration, TypeCtor)
465+
$(GLINK2 type, TypeCtor)
466466
$(D enum)
467467

468468
$(GNAME ForeachAggregate):
@@ -1582,7 +1582,7 @@ $(GNAME Catch):
15821582
$(D catch $(LPAREN)) $(GLINK CatchParameter) $(D $(RPAREN)) $(PS0)
15831583

15841584
$(GNAME CatchParameter):
1585-
$(GLINK2 declaration, BasicType) $(GLINK_LEX Identifier)$(OPT)
1585+
$(GLINK2 type, BasicType) $(GLINK_LEX Identifier)$(OPT)
15861586

15871587
$(GNAME FinallyStatement):
15881588
$(D finally) $(PS0)

spec/template.dd

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ $(GNAME TemplateArgumentList):
7272
$(GLINK TemplateArgument) , $(I TemplateArgumentList)
7373

7474
$(GNAME TemplateArgument):
75-
$(GLINK2 declaration, Type)
75+
$(GLINK2 type, Type)
7676
$(ASSIGNEXPRESSION)
7777
$(GLINK Symbol)
7878

@@ -316,10 +316,10 @@ $(GNAME TemplateTypeParameter):
316316
$(GLINK_LEX Identifier) $(GLINK TemplateTypeParameterSpecialization) $(GLINK TemplateTypeParameterDefault)
317317

318318
$(GNAME TemplateTypeParameterSpecialization):
319-
$(D :) $(GLINK2 declaration, Type)
319+
$(D :) $(GLINK2 type, Type)
320320

321321
$(GNAME TemplateTypeParameterDefault):
322-
$(D =) $(GLINK2 declaration, Type)
322+
$(D =) $(GLINK2 type, Type)
323323
)
324324

325325
$(H3 $(LNAME2 parameters_specialization, Specialization))
@@ -450,10 +450,10 @@ $(H2 $(LNAME2 template_value_parameter, Template Value Parameters))
450450

451451
$(GRAMMAR
452452
$(GNAME TemplateValueParameter):
453-
$(GLINK2 declaration, BasicType) $(GLINK2 declaration, Declarator)
454-
$(GLINK2 declaration, BasicType) $(GLINK2 declaration, Declarator) $(GLINK TemplateValueParameterSpecialization)
455-
$(GLINK2 declaration, BasicType) $(GLINK2 declaration, Declarator) $(GLINK TemplateValueParameterDefault)
456-
$(GLINK2 declaration, BasicType) $(GLINK2 declaration, Declarator) $(GLINK TemplateValueParameterSpecialization) $(GLINK TemplateValueParameterDefault)
453+
$(GLINK2 type, BasicType) $(GLINK2 declaration, Declarator)
454+
$(GLINK2 type, BasicType) $(GLINK2 declaration, Declarator) $(GLINK TemplateValueParameterSpecialization)
455+
$(GLINK2 type, BasicType) $(GLINK2 declaration, Declarator) $(GLINK TemplateValueParameterDefault)
456+
$(GLINK2 type, BasicType) $(GLINK2 declaration, Declarator) $(GLINK TemplateValueParameterSpecialization) $(GLINK TemplateValueParameterDefault)
457457

458458
$(GNAME TemplateValueParameterSpecialization):
459459
$(D :) $(GLINK2 expression, ConditionalExpression)
@@ -502,14 +502,14 @@ $(H2 $(LNAME2 aliasparameters, Template Alias Parameters))
502502
$(GRAMMAR
503503
$(GNAME TemplateAliasParameter):
504504
$(D alias) $(GLINK_LEX Identifier) $(GLINK TemplateAliasParameterSpecialization)$(OPT) $(GLINK TemplateAliasParameterDefault)$(OPT)
505-
$(D alias) $(GLINK2 declaration, BasicType) $(GLINK2 declaration, Declarator) $(GLINK TemplateAliasParameterSpecialization)$(OPT) $(GLINK TemplateAliasParameterDefault)$(OPT)
505+
$(D alias) $(GLINK2 type, BasicType) $(GLINK2 declaration, Declarator) $(GLINK TemplateAliasParameterSpecialization)$(OPT) $(GLINK TemplateAliasParameterDefault)$(OPT)
506506

507507
$(GNAME TemplateAliasParameterSpecialization):
508-
$(D :) $(GLINK2 declaration, Type)
508+
$(D :) $(GLINK2 type, Type)
509509
$(D :) $(GLINK2 expression, ConditionalExpression)
510510

511511
$(GNAME TemplateAliasParameterDefault):
512-
$(D =) $(GLINK2 declaration, Type)
512+
$(D =) $(GLINK2 type, Type)
513513
$(D =) $(GLINK2 expression, ConditionalExpression)
514514
)
515515

spec/traits.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ $(GNAME TraitsArguments):
8282

8383
$(GNAME TraitsArgument):
8484
$(GLINK2 expression, AssignExpression)
85-
$(GLINK2 declaration, Type)
85+
$(GLINK2 type, Type)
8686
)
8787

8888
$(H2 $(GNAME isArithmetic))

spec/type.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ $(GNAME MixinType):
529529
as a string.
530530
The resulting strings are concatenated to form a string.
531531
The text contents of the string must be compilable as a valid
532-
$(GLINK2 declaration, Type), and is compiled as such.)
532+
$(GLINK2 type, Type), and is compiled as such.)
533533

534534
---
535535
void test(mixin("int")* p) // int* p

0 commit comments

Comments
 (0)