Skip to content

Force interface functions as external (0.5.0)#3038

Merged
pirapira merged 1 commit intodevelopfrom
interface-external
Oct 10, 2017
Merged

Force interface functions as external (0.5.0)#3038
pirapira merged 1 commit intodevelopfrom
interface-external

Conversation

@axic
Copy link
Contributor

@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
Contributor Author

Choose a reason for hiding this comment

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

Must be public.

@axic axic force-pushed the interface-external branch from a4e1275 to 0031255 Compare October 6, 2017 12:48
@axic axic force-pushed the interface-external branch from 0031255 to c45e556 Compare October 6, 2017 12:48
@axic axic requested a review from chriseth October 6, 2017 12:49
@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
Contributor 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