-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Labels
Area-LangService-APIBugImpact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.(Internal MS Team use only) Describes an issue with extreme impact on existing code.Regression
Description
(Yes, some of these repro steps aren't related, but this is what I had when I got the exception)
f5a new hive of the latest master- Create an F# console app.
- Create a C# class library.
In the C# class library, type the following code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassLibrary1
{
public class TheClass
{
public static string TheMessage(string name) => $"Hey there, {name}";
}
}In the F# console app, type the following code:
// Learn more about F# at http://fsharp.org
// See the 'F# Tutorial' project for more help.
open ClassLibrary1
let getTheName name = TheClass.TheMessage(name)
[<EntryPoint>]
let main argv =
printfn "%s" (getTheName "Phillip")
0 // return an integer exit codeNow, click the end of the F# document:
Metadata
Metadata
Assignees
Labels
Area-LangService-APIBugImpact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.(Internal MS Team use only) Describes an issue with extreme impact on existing code.Regression