EpicSkookumScript / EpicSkookumScript/SkookumScript-Plugin
Check for re-entry in constructors
- Dominant language
- C++
- Stars
- 138
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
**Issue by [error454](https://github.com/error454)**
_Friday Jul 05, 2019 at 22:39 GMT_
_Originally opened as https://github.com/SkookumScript/SkookumScript-Plugin/issues/9_
----
**Is your feature request related to a problem? Please describe.**
I wrote a variable initializer in `BaseArconiaPawn`s constructor as:
`@arconian_owner : BaseArconiaPawn!`
I fully intended on that being:
`@arconian_owner : BaseArconiaPawn!null`
When I next hit play I got a stack overflow.
**Describe the solution you'd like**
Throw an assert with a relevant warning if this situation arises. Or better yet make it a compiler error.
Contributor guide
Assessment
This issue has not been assessed yet.