tracker issue : CF-4198574

select a category, or use search below
(searches all categories and all time range)

duplicate member functions missing from boolean and numeric types

| View in Tracker

Status/Resolution/Reason: To Fix//HaveNewInfo

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron ()

Created: 04/30/2017

Components: Language, Functions

Versions: 2016

Failure Type: Others

Found In Build/Fixed In Build: ? /

Priority/Frequency: Normal /

Locale/System: / Platforms All

Vote Count: 1

This is an edge case, an I'm raising it for completeness only.

You've gone out of your way to implement a duplicate member function for all native CFML types... except for boolean and numeric. I can't think why one would want these, but equally you've implemented it for strings and datetimes too, also which i cannot see the need for. I guess your exercise was to implement it for ALL types, so if that was what you were trying to do: you should then do it.

I guess there's a usecase where data is being passed through a generic process and it's duplicated as a matter of course. Better to have the function than force the coder to work around these exceptions.

Don't prioritise this one though.

More details @



+1 ...........
Vote by Aaron N.
831 | July 01, 2017 02:04:27 AM GMT