Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Ticket #89 (new enhancement)

Opened 16 years ago

Add properties to formatter

Reported by: doob Assigned to:
Priority: major Component: descent.core
Version: Keywords:
Cc:

Description

It would be nice to be able to have an option in the formatter to treat functions as properties when possible. See Also #34. In ticket 34 it says "For methods with void return value and a single argument (setters)". I think it should be: "For methods with void return value or has the same return type as the argument and a single argument (setters)". Because of the example at http://www.digitalmars.com/d/1.0/property.html in the section "Class and Struct Properties" where the setter also returns a value.