Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328193 - type inference problem when using typer instead of FunctionUtils
Summary: type inference problem when using typer instead of FunctionUtils
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: b3 (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-19 20:42 EDT by Henrik Lindberg CLA
Modified: 2017-09-13 11:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Lindberg CLA 2010-10-19 20:42:27 EDT
There is currently a class FunctionUtils with static entry points to inference. It is used from classes that are not created by the guice injector. This class has a type inference instance separate from the one used by the evaluator.

All calls in the evaluator except one have been replaced with use of the injected type inference instance.
But the call in "prepare call" (See note in source with reference to this bug) - when replaced will cause some b3 tests to fail.

The reason is somewhat mysterious - but may relate to the specific functions (the system function Inject) doing something in a bad way. Or it could be caused by caching (the other instance has a separate cache).
Comment 1 Henrik Lindberg CLA 2010-10-19 20:42:49 EDT
Lowered priority, but there is something bad lurking behind this issue...