Skip to content

function with a name that another function also has is not inlined #80

@flocsy

Description

@flocsy

When I have a function that has the name of another function (in another class), then the inlining doesn't work:

class MyClass {
  (:inline)
  hidden function notifyNewSensor(antId as Number, msg as Message) as Void {
    //...
    Sensor.notifyNewSensor(sensorInfo, false);
  }

  function foo() as Void {
    notifyNewSensor(123, message);
  }
}

And I get this:
The inline function notifyNewSensor was not removed from the program

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions