-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
c++involves C++ codeinvolves C++ codeimprovementimproves existing functionalityimproves existing functionalityspecificationinvolves the nyan language specificationinvolves the nyan language specification
Description
We have thought about amending the nyan language spec to mitigate runtime errors:
- If an
optional(..)type member has the None value assigned, all relative operations (+=,*=, etc.) on the value will have the resultNone. - The
infvalue for theint/floattypes can only be assigned -> Relative operation usinginfas the operand will be disallowed. - The special case
inf *= 0will cause aRuntimeError
Metadata
Metadata
Assignees
Labels
c++involves C++ codeinvolves C++ codeimprovementimproves existing functionalityimproves existing functionalityspecificationinvolves the nyan language specificationinvolves the nyan language specification