| Summary: | Ambiguous Function error | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Scott Greer <greer> |
| Component: | EDT | Assignee: | Project Inbox <edt.mofmodel-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | pharmon, svihovec |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
I have updated TypeUtils to resolve to the function defined in the lowest level of the hierarchy if multiple functions are found. Verified. *** Bug 355511 has been marked as a duplicate of this bug. *** Closing this defect. |
In the RadioGroup widget, there is this logic: for (index int from 1 to options.getSize() by 1) newOption Widget{tagName = "input type=radio name=" + groupName}; newOption.setAttribute("value", options[index]); newOption.onClick ::= setSelectedEvent; newOption.onChange ::= setChangeEvent; optionName TextLabel{text = options[index], class = "EglRuiRadioGroupOptionName"}; optionName.setAttribute("dir", "ltr"); optionName.style = "display: inline-block"; optionsList.appendElement(newOption); optionsBox.appendChild(newOption); optionsBox.appendChild(optionName); end ....when compiled the last "appendChild" statement produces an AmbiguousFunction error, presumably because the method resolution fails given the type of the optionName parameter; note that it does not complain about the previous statement where the newOption widget is involved.