Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363161 - Confused by validation msg: The types string[] and string[] are not reference compatible
Summary: Confused by validation msg: The types string[] and string[] are not reference...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 07:01 EST by Kathy Carroll CLA
Modified: 2017-02-23 14:17 EST (History)
1 user (show)

See Also:


Attachments
Eunit library (1.06 KB, application/octet-stream)
2011-11-08 07:01 EST, Kathy Carroll CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kathy Carroll CLA 2011-11-08 07:01:12 EST
Created attachment 206581 [details]
Eunit library

Multiple markers at this line
	- IWN.VAL.6716.e 12/19 facsINOUTd - The argument ["flup","flap"] cannot be passed to the inOut or Out parameter cas of the function facsINOUT. The types string[] and string[] are not reference compatible. At line 12 in file \Isolate\EGLSource\mine
	 \same.egl
	- IWN.VAL.6716.e 12/19 same - The argument ["flup","flap"] cannot be passed to the inOut or Out parameter cas of the function facsINOUT. The types string[] and string[] are not reference compatible. At line 12 in file \Isolate\EGLSource\mine\same.egl

I've attached the eunit file that gets the validation message.  They appear to be of the same type to me.  Is the issue that an array literal is being passed?
Comment 1 Paul Harmon CLA 2011-11-08 08:16:32 EST
I have updated TypeCompatibilityUtil to allow the literal array to be passed to the inout parm. I'm sure there is some good reason why the validation code treats array literals as value types, but I am not sure what it is at this time.
Comment 2 Kathy Carroll CLA 2011-11-11 13:39:09 EST
Validation changes make this testcase invalid.  Verfied with 20111111_0901 and closed