Ticket #266 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

Changed 3 years ago by stephan

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to OTDT_1.3.0_M4
Note: See TracTickets for help on using tickets.