Skip to content

Commit 8fca66e

Browse files
committed
Remove mention that shared structs can't have private fields
1 parent 7205cea commit 8fca66e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Shared structs are structs with even more restricted behavior, so as to make the
8484
Shared structs, in addition to the properties listed for structs above, have the following additional properties:
8585
- They can only extend other shared structs.
8686
- They have a `null` prototype.
87-
- They cannot contain instance methods or instance private names.
87+
- They cannot contain instance methods.
8888
- Their instances can be communicated to other agents without copying.
8989
- Their fields can only reference primitives or other shared structs. That is, they cannot point to unshared values.
9090
- They cannot be frozen, because that would change their shape, which must be immutable to be amenable for sharing.

0 commit comments

Comments
 (0)