tracker issue : CF-3040315

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

Bug 80394:function argument can not have type set to fully qualified name in script style

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)

Created: 10/16/2009

Components: Language, CF Component

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Major / Unknown

Locale/System: English / Win All

Vote Count: 4

Problem:

function argument can not have type set to fully qualified name in script style.
Method:

void function funcName(required com.xxx.yyy yyy) { }
Result:

You cannot use a variable reference with "." operators in this context.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3040315

External Customer Info:
External Company:  
External Customer Name: Henry Ho
External Customer Email: 237A22C24921EDF5992015B9
External Test Config: 10/16/2009

Attachments:

Comments:

This bug has been voted..
Vote by External U.
22665 | November 11, 2011 12:41:08 AM GMT
I have run into the same problem in the init() method of a cfc that is passed another cfc as an argument. I attempt to type the argument as the name of the cfc passed (see second argument below): public TestModel function init(required Any webserviceURL, required a.b.Utility utility) and receive the following error: You cannot use a variable reference with "." operators in this context
Vote by External U.
22666 | November 11, 2011 12:41:09 AM GMT
This bug has been voted..
Vote by External U.
22667 | November 11, 2011 12:41:11 AM GMT
This bug has been voted..
Vote by External U.
22668 | November 11, 2011 12:41:12 AM GMT