Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force interface functions as external (0.5.0) #3038

Merged
merged 1 commit into from
Oct 10, 2017
Merged

Conversation

axic
Copy link
Member

@axic axic commented Oct 5, 2017

Part of #2330.

@axic axic force-pushed the interface-external branch 2 times, most recently from 4df1af5 to a4e1275 Compare October 5, 2017 21:52
char const* text = R"(
pragma experimental "v0.5.0";
interface I {
function f() private;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must be public.

@chriseth
Copy link
Contributor

chriseth commented Oct 6, 2017

Hm, I would have said that no visibility specifier is allowed and it is external by default, but I'm also fine with this.

@axic
Copy link
Member Author

axic commented Oct 6, 2017

@chriseth that question is #2330, but no decisions yet :)

@chriseth
Copy link
Contributor

chriseth commented Oct 6, 2017

Ok, having thought about it again: People don't know what the defaults are, especially not if there is no obvious default, so probably better to force a keyword.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants