Skip to content

Commit 289d365

Browse files
committed
Cherry-pick dlang/dmd#21361
1 parent 9c2db2c commit 289d365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dmd/typesem.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7330,7 +7330,7 @@ Type substWildTo(Type type, uint mod)
73307330
t = t.addMod(MODFlags.shared_);
73317331

73327332
//printf("-Type.substWildTo t = %s\n", t.toChars());
7333-
return t;
7333+
return t.merge();
73347334
}
73357335

73367336
if (!tf.iswild && !(tf.mod & MODFlags.wild))

0 commit comments

Comments
 (0)