Skip to content

Commit

Permalink
Merge pull request #4309 from Hackerpilot/clarify_variant_test
Browse files Browse the repository at this point in the history
Fix delegates in unit test so that they actually return void and do nothing
  • Loading branch information
CyberShadow committed May 23, 2016
2 parents 836a905 + e702b0e commit 9f82718
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions std/variant.d
Original file line number Diff line number Diff line change
Expand Up @@ -2613,9 +2613,9 @@ unittest
Obj obj = 1;

obj.visit!(
(int x) => {},
(IntTypedef x) => {},
(Obj[] x) => {},
(int x) {},
(IntTypedef x) {},
(Obj[] x) {},
);
}

Expand Down

0 comments on commit 9f82718

Please sign in to comment.