Skip to content

F# ignores custom modifiers (modreq/modopt) #5464

@TIHan

Description

@TIHan

F# is ignoring any custom modifiers from importing IL assemblies:

     | ILType.Modified(_,_,ty) ->
          // All custom modifiers are ignored
          ImportILType env m tinst ty

This is violating the Ecma spec. We should probably get a list of C#/VB custom modifiers that have CMOD_REQ, and allow those to go through assuming we handle them properly anyway, and then we throw an error on ones that we don't know about; currently, we do not do this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions