Skip to content

Commit 456e5cd

Browse files
authored
Merge pull request #1701 from wilzbach/fix-17224
Fix Issue 17224 - Foreach documentation still refers to TypeTuples, rather than AliasSequences merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
2 parents a9b91a6 + 2df4132 commit 456e5cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/statement.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,11 +845,11 @@ $(P
845845

846846
-----
847847
import std.stdio;
848-
import std.typetuple; // for TypeTuple
848+
import std.meta : AliasSeq;
849849

850850
void main()
851851
{
852-
alias TL = TypeTuple!(int, long, double);
852+
alias TL = AliasSeq!(int, long, double);
853853

854854
foreach (T; TL)
855855
{

0 commit comments

Comments
 (0)