| Summary: | Unreachable function appears in content assist | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | fahua jin <jinfahua> |
| Component: | EDT | Assignee: | Xiao Bin Chen <xiaobinc> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | chenzhh, svihovec, xiaobinc |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
fahua jin
I believe the function from Lib1 should 'shadow' the function from Lib2, unless you fully qualify the invocation with 'Lib2'. Either way, only one function should appear in content assist, because only one function can run. I will see if Content assist could add "Lib2." if the current part already has the same function name. By the way do we support function overload? (same function name, with different number of parameters or other situation) To be clear, the user should only see one 'functionName' for the following:
Lib1
use Lib2;
function functionName() end
function lib1_Func()
f<ca>
end
end
The functionName being displayed should be from Lib1, since the scope of the current part will be searched before the scope of Lib2.
I will need to investigate the answer on function overloading.
fixed. Verified in 0.8.0.v201202190901. |