Skip to content

Consider consolidating Runtime Assignability Checks  #54

@gselzer

Description

@gselzer

@hinerm pointed out that the matching behavior within DefaultOpEnvironment.simplifiedOp() should be able to handle runtime assignability. This would result in the behavior of MatchingUtils.isSafeAssignable() being redundant. If we then implement hints (see #43), adding a allowRuntimeAssignability hint would result in checks for this hint in two places. It might be wise to ensure that direct matching only checks compile-time assignability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions