Skip to content

Value compiled as function doesn't get compilation mapping attributes #19428

Description

@auduchinok

The following module value gets compiled to a method due to its generic type:

let l = []

The compiled member is missing the expected [CompilationMapping(SourceConstructFlags.Value)] attribute:

public static FSharpList<a> l<a>() => FSharpList<a>.get_Empty();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions