Skip to content

Layer.hx - Cannot inline a not final return #38

@zangobot

Description

@zangobot

Sometimes (I can not understand exactly when), I got the error "Cannot inline a not final return" on the following lines of code:

public inline function isCoordValid(cx,cy) {
	return cx>=0 && cx<cWid && cy>=0 && cy<cHei;
}

Removing the inlining of the condition fixes the issue.

API version: 1.5.3-rc1

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