Ticket #266 (closed defect: fixed)
Warning for inferred callout-to-method only on first occurrence
| Reported by: | mosconi | Owned by: | stephan |
|---|---|---|---|
| Priority: | major | Milestone: | OTDT_1.3.0_M4 |
| Component: | compiler | Version: | 1.3.0M3 |
| Keywords: | Cc: |
Description
The following code uses inferred callouts to field str and method m() from the base class:
public team class MyTeam { public class MyRole playedBy MyBase { public void rm() { System.out.println(str); System.out.println(str); m(); m(); } } }
The warning/error "Unresolved self call m() is implicitly bound by an inferred callout" only shows up on the first usage of m(). The corresponding warnings for callout-to-field show up correctly on every occurrence.
Change History
Note: See
TracTickets for help on using
tickets.
all news
RSS feed