andreaferretti / react.nim

React.js bindings for Nim
Apache License 2.0
91 stars 6 forks source link

Add experimental callOperator switch to example app #6

Closed metagn closed 3 years ago

metagn commented 3 years ago

The current Nim behavior is that the experimentals for call/dot operators only need to be enabled at the declaration site, and modules using the operators do not need it enabled. This behavior is changed in https://github.com/nim-lang/Nim/pull/16924. This example does not enable the callOperator experimental switch, making Nim's package CI break for that PR. Adding this switch here does not break the example for previous behavior.