-
Notifications
You must be signed in to change notification settings - Fork 842
Closed
Labels
Area-LangService-APIBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
Description
This bug is in both VS2015 and VS2017
Errors for transitive #load on missing files are not shown in the IDE. (Other errors such as type checking and parsing errors in transitively-loaded scripts are correctly shown, it's just that the missing-file errors are not replayed)
Repro steps
script1.fsx:
#load "script2.fsx"
System.Console.WriteLine("Hello")script2.fsx:
#load "bad.fsx"
let fail = 1 + 1
Expected behavior
The IDE shows an error on #load script2.fsx in script1.fsx, because there is a transitive missing-script error in the script being loaded
Actual behavior
No error is shown in script1.fsx
Known workarounds
You find out when you run the script
Metadata
Metadata
Assignees
Labels
Area-LangService-APIBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.