introduce more runtime checks
Bug #392551 reported by
Amos Wenger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ooc |
Confirmed
|
Medium
|
Amos Wenger |
Bug Description
Currently, the ooc runtime is very unsafe. Casts aren't checked at all, nor are buffer overflows, etc.
The point of ooc is being higher-level than C, so these safety runtime checks should be added by the ooc compiler to take this burden off the shoulders of the programmer.
This is an important goal for 0.3, and a test suite should be added to the distribution concerning safety.
To post a comment you must log in.
A better type safety at compile-time is more important than runtime checks, at the moment.
If someone's interested in runtime checks in ooc, they can uncomment MemberCallUnwra pFeature and NullCheckFeature in SyntaxNode, but they are bugged (hence disabled by default)