Skip to content

Simplify semantics of private fields; add self syntax for classes#79

Merged
crusso merged 3 commits intomasterfrom
private
Nov 26, 2018
Merged

Simplify semantics of private fields; add self syntax for classes#79
crusso merged 3 commits intomasterfrom
private

Conversation

@rossberg
Copy link
Copy Markdown
Contributor

Change semantics of private specifier such that it is per-instance. This simplifies its semantics to essentially a scoping restriction. It also is the only semantics that actually is implementable for actors.

At the same time, add syntax for binding "this" to classes. This was necessary to be able to rewrite some of the examples previously using per-class private.

Loading
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.

4 participants