Skip to content

last version of VS2019 fails with #I __SOURCE_DIRECTORY__ #13467

@smoothdeveloper

Description

@smoothdeveloper

Repro steps

  • Update VS2019 to latest release

  • open developer command prompt

  • run fsianycpu

  • input the following code

    #I __SOURCE_DIRECTORY__;;

Expected behavior

Should work, it worked before updating.

Actual behavior

stdin(1,4): error FS0010: Unexpected compiler generated literal in interaction. Expected incomplete structured construct at or before this point, ';', ';;' or other token.

Known workarounds

change scripts

#I ".";;

Related

Since this was a regression and it shipped at some point in latest update of VS2019 (breaks many customers), can we get the same fix as what went in VS2022 for it?

Related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions