Skip to content

unable to access static methods from static fields in static blocks #2343

@Rune-Magic

Description

@Rune-Magic
public static int32 FOO_VERSION(int32 major, int32 minor) => ((major) << 16 | (minor) << 8);
public static let FOO_VERSION_2_26 = (FOO_VERSION(2, 26)); // ERROR: Method 'FOO_VERSION' does not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions