Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
dawedawe committed May 23, 2023
1 parent 69df3a7 commit e05e808
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@
<Compile Include="OCamlCompat\OCamlCompat.fs" />
<Compile Include="Miscellaneous\ListLiterals.fs" />
<Compile Include="Miscellaneous\SemanticClassificationKeyBuilder.fs" />
<Compile Include="Miscellaneous\FindUnsolvedTests.fs" />
<Compile Include="Miscellaneous\XmlDoc.fs" />
<Compile Include="Miscellaneous\FsharpSuiteMigrated.fs" />
<Compile Include="Miscellaneous\MigratedCoreTests.fs" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.

module FSharp.Compiler.ComponentTests.Miscellaneous.FindUnsolvedTests

open Xunit
open FSharp.Test.Compiler

[<Fact>]
let ``fallbackRange being set in FindUnsolved`` () =
FSharp
"""let f<'b> () : 'b = (let a = failwith "" in unbox a)"""
|> typecheckResults
|> ignore

0 comments on commit e05e808

Please sign in to comment.