File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -462,7 +462,7 @@ $(H3 $(LNAME2 package, $(D package) Attribute))
462
462
463
463
$(P $(D package) may have an optional parameter in the form of a dot-separated identifier
464
464
list which is resolved as the qualified package name. The package must be either the module's
465
- parent package or one of its anscestors . If this parameter is present, the symbol
465
+ parent package or one of its ancestors . If this parameter is present, the symbol
466
466
will be visible in the specified package and all of its descendants.
467
467
)
468
468
@@ -742,10 +742,10 @@ scope int* x; // scope ignored, global variable
742
742
743
743
void main()
744
744
{
745
- static int* x; // scope ignored, global variable
746
- scope float y; // scope ignored, no indirections
747
- scope int[2] z; // scope ignored, static array is value type
748
- scope int[] w; // scope dynamic array
745
+ // scope static int* x; // cannot be both scope and static
746
+ scope float y; // scope ignored, no indirections
747
+ scope int[2] z; // scope ignored, static array is value type
748
+ scope int[] w; // scope dynamic array
749
749
}
750
750
---
751
751
)
You can’t perform that action at this time.
0 commit comments