Skip to content

Commit 35099f6

Browse files
authored
Merge pull request #2487 from WalterBright/fix10962
fix Issue 10692 - Deprecation isn't checked using alias this merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2 parents c42090d + 1fbd786 commit 35099f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/class.dd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,6 +1179,8 @@ void test()
11791179
int i = s; // i == 4
11801180
}
11811181
---
1182+
$(P $(GLINK2 attribute, Attribute)s are ignored for $(D AliasThis).
1183+
)
11821184

11831185
$(P Multiple $(I AliasThis) are allowed. For implicit conversions
11841186
and forwarded lookups, all $(I AliasThis) declarations are attempted;

0 commit comments

Comments
 (0)