Created
October 8, 2012 21:10
-
-
Save Blei/3854999 to your computer and use it in GitHub Desktop.
Incorrect visibility parsing of first function in extern block
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
// shouldn't parse but does | |
extern { pub pub fn foo(); } | |
// ignores visibility | |
extern { pub fn bar(); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment