Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Jan 22, 2024
1 parent 0a0c6c5 commit 812506b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .changeset/tidy-stingrays-think.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"@latticexyz/world": major
---

Namespaces are not allowed to contain double underscores ("__") anymore, as this sequence of characters is used to [separate the namespace and function selector](https://github.com/latticexyz/mud/pull/2168) in namespaced systems.
Namespaces are not allowed to contain double underscores ("\_\_") anymore, as this sequence of characters is used to [separate the namespace and function selector](https://github.com/latticexyz/mud/pull/2168) in namespaced systems.
This is to prevent signature clashes of functions in different namespaces.

(Example: If namespaces were allowed to contain this separator string, a function "function" in namespace "namespace__my" would result in the namespaced function selector "namespace__my__function",
and would clash with a function "my__function" in namespace "namespace".)
(Example: If namespaces were allowed to contain this separator string, a function "function" in namespace "namespace**my" would result in the namespaced function selector "namespace**my**function",
and would clash with a function "my**function" in namespace "namespace".)

0 comments on commit 812506b

Please sign in to comment.