-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
224: Make typestate initialization notes correct r=therealprof a=Logan-Hunter As written previously, the note after the initial typestate programming example saying that there's no direct way to create a Foo object wasn't quite accurate; in the sample given you definitely could, since Foo and FooBuilder weren't isolated into a module. Isolated Foo and FooBuilder into a module to make the statement correct. Co-authored-by: Logan Hunter <[email protected]>
- Loading branch information
Showing
1 changed file
with
26 additions
and
24 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