welcome
documentation
resources
contribute
blogs
download
Sign in
wish# 1021 Simple conversion declaration
Submitter:
javier
Category:
Language
Date:
2015/08/20
Number:
1021
Status:
Open
Synopsis:
Simple conversion declaration
Description
Allow to write a simple conversion statement: class CONVERSION_PROPOSAL create make_from convert make_from, something feature make_from (v: A_TYPE) do end something: ANOTHER_TYPE do end end equivalent to: class CURRENT_CONVERSION create make_from convert make_from ({A_TYPE}), something: {ANOTHER_TYPE} feature make_from (v: A_TYPE) do end something: ANOTHER_TYPE do end end
Go to wish list
Interactions