Skip to content

Re-implement nameof operator #2287

@vasily-kirichenko

Description

@vasily-kirichenko

As @dsyme suggested here fsharp/fslang-design#48 (comment), it's much simpler and "the right way" in general to implement the feature in TypeChecker, namely in TcFunctionApplicationThen function, at this point https://github.com/Microsoft/visualfsharp/blob/master/src/fsharp/TypeChecker.fs#L8274

We should port all the wonderful tests @forki created in his old PR #13

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