Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360568 - Need validation error on program parameter array that has a size
Summary: Need validation error on program parameter array that has a size
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-10-11 13:17 EDT by Matt Heitz CLA
Modified: 2017-02-23 14:15 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Heitz CLA 2011-10-11 13:17:58 EDT
We need to mark the "3" in the parameter below as invalid.

program foo( x int[3] )
  function main()
  end
end
Comment 1 Paul Harmon CLA 2011-11-14 10:52:28 EST
I have added the validation to ProgramValidator.

I also fixed the validation in FunctionValidator. Previously, the code was giving an error for:

function f1(p1 int[3])


but not for

function f1(p1 int[3]?)


It now gives an error for both of these
Comment 2 Matt Heitz CLA 2011-11-16 11:03:17 EST
Verified.