Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 437c2e0

Browse files
committed
Merge pull request jhnns#88 from BenjaminVerble/readme/limitations/const
add note about const to readme
2 parents 7a51248 + 413c681 commit 437c2e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ Variables inside functions can not be changed by rewire. This is constrained by
146146
})()
147147
```
148148

149+
**const**
150+
Rewire does not work with const [see this issue](https://github.com/jhnns/rewire/issues/79)
151+
149152
**Modules that export primitives**<br>
150153
rewire is not able to attach the `__set__`- and `__get__`-method if your module is just exporting a primitive. Rewiring does not work in this case.
151154

0 commit comments

Comments
 (0)