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

Bug 328193

Summary: type inference problem when using typer instead of FunctionUtils
Product: z_Archived Reporter: Henrik Lindberg <henrik.lindberg>
Component: b3Assignee: Project Inbox <b3.engine-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P4    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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...