Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351425 - Validation errors on system library call that returns a ServicePart
Summary: Validation errors on system library call that returns a ServicePart
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-07 07:34 EDT by Joseph Vincens CLA
Modified: 2017-02-23 14:20 EST (History)
0 users

See Also:


Attachments
ServiceTest zip (5.06 KB, application/unknown)
2011-07-07 07:34 EDT, Joseph Vincens CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Vincens CLA 2011-07-07 07:34:43 EDT
Created attachment 199249 [details]
ServiceTest zip

The library function is defined as:
    function bindService (bindingKey string in) returns (egl.lang.reflect.ServicePart)
        {eglSystemConstant = 454}
    end


I have attached a project that shows the problems below.

Description	Resource	Path	Location	Type
IWN.VAL.3261.e 22/47 The target of isa or as (IMyService) must be a data type or a part reference.	Handler1.egl	/ServiceTest/eglsource/handlers	line 22	EDT Problem
IWN.VAL.6653.e 22/13 Handler1 - ServicePart and IMyService are not compatible types in the expression ServiceLib.bindService() as IMyService. At line 22 in file /ServiceTest/eglsource/handlers/Handler1.egl	Handler1.egl	/ServiceTest/eglsource/handlers	line 22	EDT Problem
Comment 1 Joseph Vincens CLA 2011-09-12 14:28:52 EDT
we are no longer using this syntax