Add Compile Time 'if' Statement to Language

Registered by Eike

Add an 'if' statement to the language that is only evaluated at compile time, similarly to the 'static if' statement of the D language. With this feature, compile time functions could be written in a simple style, with multiple return statements.
The implementation of the compile time 'if' would be very simple. The implementation of the run time 'if' could be much simplified, compared to the hybrid solution that is currently used.

Blueprint information

Status:
Complete
Approver:
Eike
Priority:
Medium
Drafter:
Eike
Direction:
Approved
Assignee:
Eike
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 0.4.0
Started by
Eike
Completed by
Eike

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.