Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359856

Summary: Expecting validation msg when pass integer literal or integer variable to an any function parameter
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Project Inbox <edt.compiler-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Program none

Description Kathy Carroll CLA 2011-10-04 11:21:52 EDT
I expect all the three of the test* functions to have validation errors due to the integer and any not having the same reference type.

See attached program file
Comment 1 Kathy Carroll CLA 2011-10-04 11:25:07 EDT
Created attachment 204517 [details]
Program
Comment 2 Kathy Carroll CLA 2011-10-04 14:00:37 EDT
Curious should EDT be issuing 

IWN.VAL.4949.e 7/37 IN modifier is not allowed to be specified with NUMBER or any of the loose primitive types.

like RBD for

	function switchOnInNumberParameter(localLen number in)
	end

Wouldn't the same message apply for ANY parameters?
Comment 3 Paul Harmon CLA 2011-10-13 14:08:36 EDT
The rule in EDT is that everything should be reference compatible with ANY and ANY should be reference compatible with everything.

I have actually loosened validation to eliminate the 1 validation error that was being thrown for this testcase.

The change has been checked into TypeCompatibilityUtil
Comment 4 Kathy Carroll CLA 2011-10-20 11:22:42 EDT
Verified with build 201110200901 & closed.