tracker issue : CF-4204307

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

Member Function Bug: Value must be initialized before use.

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Dave L. / ()

Created: 05/14/2019

Components: Language, Member Functions

Versions: 2016,2018

Failure Type: Crash

Found In Build/Fixed In Build: Latest / CF2018U5

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Windows 10 64 bit

Vote Count: 0

Problem Description:
Unhandled Exception
Value must be initialized before use when referencing a structure in a member function

Steps to Reproduce:

Actual Result:
"Value must be initialized before use."
Expected Result:
The code: result.fruits.updated.append() should work.
Any Workarounds:
result?.fruits?.updated?.append() Or alternatively, the code works on Lucee

This issue occurs on ColdFusion 2016 (latest) and 2018 (latest)