-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak msg_send! so return type cannot be omitted
Previously, the structure of the macro meant that the return type was inferred to () when no type was specified. This relied on an edge case in the compiler and will produce undefined behavior in the future. This fixes #62.
- Loading branch information
Showing
1 changed file
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters