@@ -29,7 +29,7 @@ module TaskGeneratedCode =
2929 [<Test>]
3030 let ``check MoveNext of simple task debug`` () =
3131 CompilerAssert.CompileLibraryAndVerifyILWithOptions(
32- [| " /optimize-" ; " /debug:portable" ; " /tailcalls-" |],
32+ [| " /optimize-" ; " /debug:portable" ; " --realsig+ " ; " /tailcalls-" |],
3333 """
3434module Test
3535
@@ -116,7 +116,7 @@ let testTask() = task { return 1 }
116116 [<Test>]
117117 let ``check MoveNext of simple task optimized`` () =
118118 CompilerAssert.CompileLibraryAndVerifyILWithOptions(
119- [| " /optimize+" ; " /debug:portable" ; " /tailcalls+" |],
119+ [| " /optimize+" ; " /debug:portable" ; " --realsig+ " ; " /tailcalls+" |],
120120 """
121121module Test
122122
@@ -190,7 +190,7 @@ let testTask() = task { return 1 }
190190 [<Test>]
191191 let ``check MoveNext of simple binding task debug`` () =
192192 CompilerAssert.CompileLibraryAndVerifyILWithOptions(
193- [| " /debug:portable" ; " /optimize-" ; " /tailcalls-" |],
193+ [| " /debug:portable" ; " --realsig+ " ; " /optimize-" ; " /tailcalls-" |],
194194 """
195195module Test
196196open System.Threading.Tasks
@@ -370,7 +370,7 @@ module TaskTryFinallyGeneration =
370370 [<Test>]
371371 let ``check MoveNext of task try / finally optimized`` () =
372372 CompilerAssert.CompileLibraryAndVerifyILWithOptions(
373- [| " /optimize+" ; " /debug:portable" ; " /tailcalls+" |],
373+ [| " /optimize+" ; " /debug:portable" ; " --realsig+ " ; " /tailcalls+" |],
374374 """
375375module Test
376376
@@ -479,7 +479,7 @@ let testTask() = task { try 1+1 finally System.Console.WriteLine("finally") }
479479 [<Test>]
480480 let ``check MoveNext of task try / finally debug`` () =
481481 CompilerAssert.CompileLibraryAndVerifyILWithOptions(
482- [| " /optimize-" ; " /debug:portable" ; " /tailcalls-" |],
482+ [| " /optimize-" ; " /debug:portable" ; " --realsig+ " ; " /tailcalls-" |],
483483 """
484484module Test
485485
@@ -596,7 +596,7 @@ module TaskTryWithGeneration =
596596 [<Test>]
597597 let ``check MoveNext of task try / with optimized``() =
598598 CompilerAssert.CompileLibraryAndVerifyILWithOptions(
599- [| " /optimize+" ; " /debug:portable" ; " /tailcalls+" |],
599+ [| " /optimize+" ; " /debug:portable" ; " --realsig+ " ; " /tailcalls+" |],
600600 """
601601module Test
602602
@@ -709,7 +709,7 @@ let testTask() = task { try 1 with e -> System.Console.WriteLine("finally"); 2 }
709709 [<Test>]
710710 let ``check MoveNext of task try / with debug``() =
711711 CompilerAssert.CompileLibraryAndVerifyILWithOptions(
712- [| " /optimize-" ; " /debug:portable" ; " /tailcalls-" |],
712+ [| " /optimize-" ; " /debug:portable" ; " --realsig+ " ; " /tailcalls-" |],
713713 """
714714module Test
715715
@@ -829,7 +829,7 @@ module TaskWhileLoopGeneration =
829829 [<Test>]
830830 let ``check MoveNext of task while loop optimized`` () =
831831 CompilerAssert.CompileLibraryAndVerifyILWithOptions(
832- [| " /optimize+" ; " /debug:portable" ; " /tailcalls+" |],
832+ [| " /optimize+" ; " /debug:portable" ; " --realsig+ " ; " /tailcalls+" |],
833833 """
834834module Test
835835
@@ -927,7 +927,7 @@ let testTask() = task { while x > 4 do System.Console.WriteLine("loop") }
927927 [<Test>]
928928 let ``check MoveNext of task while loop debug`` () =
929929 CompilerAssert.CompileLibraryAndVerifyILWithOptions(
930- [| " /optimize-" ; " /debug:portable" ; " /tailcalls-" |],
930+ [| " /optimize-" ; " /debug:portable" ; " --realsig+ " ; " /tailcalls-" |],
931931 """
932932module Test
933933
@@ -1030,7 +1030,7 @@ module TaskTypeInference =
10301030 [<Test>]
10311031 let ``check initially ambiguous SRTP task code `` () =
10321032 CompilerAssert.CompileExeAndRunWithOptions(
1033- [| " /optimize-" ; " /debug:portable" ; " /tailcalls-" |],
1033+ [| " /optimize-" ; " /debug:portable" ; " --realsig+ " ; " /tailcalls-" |],
10341034 """
10351035module Test
10361036
@@ -1050,7 +1050,7 @@ let myTuple : (string -> Task<unit>) * int = (fun (_s: string) -> Task.FromResul
10501050 [<Test>]
10511051 let ``check generic task code `` () =
10521052 CompilerAssert.CompileExeAndRunWithOptions(
1053- [| " /optimize-" ; " /debug:portable" ; " /tailcalls-" |],
1053+ [| " /optimize-" ; " /debug:portable" ; " --realsig+ " ; " /tailcalls-" |],
10541054 """
10551055module Test
10561056
@@ -1083,7 +1083,7 @@ printfn "test passed"
10831083 [<Test>]
10841084 let ``check generic task exact code`` () =
10851085 CompilerAssert.CompileLibraryAndVerifyILWithOptions(
1086- [| " /optimize-" ; " /debug:portable" ; " /tailcalls-" |],
1086+ [| " /optimize-" ; " /debug:portable" ; " --realsig+ " ; " /tailcalls-" |],
10871087 """
10881088module Test
10891089
0 commit comments