@@ -4918,15 +4918,15 @@ type ToStringClass(x) =
49184918 end
49194919do check " Bug1049.customClass" ( string ( ToStringClass( " fred" ))) " fred"
49204920
4921- [<Struct>]
4922- type ToStringStruct =
4923- struct
4924- val x : int
4925- new ( x ) = { x = x }
4926- override this.ToString ( ) = string this.x
4927- end
4928- do check " Bug1049.customStruct " ( string ( ToStringStruct ( 123 ))) " 123 "
4929-
4921+ // BUGBUG: https://github.com/Microsoft/visualfsharp/issues/6597
4922+ // [<Struct>]
4923+ // type ToStringStruct =
4924+ // struct
4925+ // val x : int
4926+ // new(x ) = {x=x}
4927+ // override this.ToString() = string this.x
4928+ // end
4929+ // do check "Bug1049.customStruct" (string (ToStringStruct(123))) "123"
49304930type ToStringEnum =
49314931 | A = 1
49324932 | B = 2
@@ -5121,7 +5121,6 @@ module Check1477 = begin
51215121 end
51225122end
51235123
5124-
51255124(* ---------------------------------------------------------------------------
51265125!* BUG 1561: (-star-star-) opens a comment but does not close it and other XML Doc issues.
51275126 *--------------------------------------------------------------------------- *)
@@ -5320,8 +5319,6 @@ end
53205319
53215320module TestNoNullElementsInListChainFromInit = begin
53225321
5323-
5324-
53255322 let test n x =
53265323 printfn " testing %A " n;
53275324 let a = List.init n x in
@@ -5336,11 +5333,8 @@ module TestNoNullElementsInListChainFromInit = begin
53365333
53375334end
53385335
5339-
53405336module TestNoNullElementsInListChainFromUnzip = begin
53415337
5342-
5343-
53445338 let test x =
53455339 printfn " testing %A " x;
53465340 let a , b = List.unzip x in
@@ -5432,31 +5426,35 @@ module SetToString = begin
54325426 do check " cewjhnkrveo81p" (( Map.ofList [( 4 , 40 );( 3 , 30 );( 2 , 20 );( 1 , 10 )]) |> sprintf " %A " ) " map [(1, 10); (2, 20); (3, 30); (4, 40)]"
54335427end
54345428
5435- (* ---------------------------------------------------------------------------
5436- !* Bug 5816: Unable to define mutually recursive types with mutually recursive generic constraints within FSI
5437- *--------------------------------------------------------------------------- *)
5438- module Bug5816 = begin
5439- type IView < 'v , 'vm when 'v :> IView < 'v , 'vm > and 'vm :> IViewModel < 'v , 'vm >> = interface
5440- abstract ViewModel : 'vm
5441- end
5442- and IViewModel < 'v , 'vm when 'v :> IView < 'v , 'vm > and 'vm :> IViewModel < 'v , 'vm >> = interface
5443- abstract View : 'v
5444- end
5445- end
5446- (* ---------------------------------------------------------------------------
5447- !* Bug 5825: Constraints with nested types
5448- *--------------------------------------------------------------------------- *)
5449- module Bug5825 = begin
5450- type I = interface
5451- abstract member m : unit
5452- end
5453- type C () = class
5454- interface I with
5455- member this.m = ()
5456- end
5457- end
5458- let f ( c : #C ) = ()
5459- end
5429+ // BUGBUG: https://github.com/Microsoft/visualfsharp/issues/6599
5430+
5431+ //(*---------------------------------------------------------------------------
5432+ //!* Bug 5816: Unable to define mutually recursive types with mutually recursive generic constraints within FSI
5433+ // *--------------------------------------------------------------------------- *)
5434+ //module Bug5816 = begin
5435+ // type IView<'v, 'vm when 'v :> IView<'v,'vm> and 'vm :> IViewModel<'v,'vm>> = interface
5436+ // abstract ViewModel : 'vm
5437+ // end
5438+ // and IViewModel<'v, 'vm when 'v :> IView<'v,'vm> and 'vm :> IViewModel<'v,'vm>> = interface
5439+ // abstract View : 'v
5440+ // end
5441+ //end
5442+
5443+ // BUGBUG: https://github.com/Microsoft/visualfsharp/issues/6600
5444+ //(*---------------------------------------------------------------------------
5445+ //!* Bug 5825: Constraints with nested types
5446+ // *--------------------------------------------------------------------------- *)
5447+ //module Bug5825 = begin
5448+ // type I = interface
5449+ // abstract member m : unit
5450+ // end
5451+ // type C() = class
5452+ // interface I with
5453+ // member this.m = ()
5454+ // end
5455+ // end
5456+ // let f (c : #C) = ()
5457+ //end
54605458
54615459module Bug5981 = begin
54625460 // guard against type variable tokens leaking into the IL stream
@@ -5501,7 +5499,6 @@ module Bug920236 =
55015499 for i in a do
55025500 result := i::(! result)
55035501 do test " hfduweyr" (! result = [ box 1 ])
5504-
55055502
55065503module TripleQuoteStrings =
55075504
@@ -5597,6 +5594,7 @@ module LittleTestFor823 =
55975594 let x , y = 1 , 2
55985595 let v = Some (( x = y), ( x = x))
55995596
5597+
56005598(* ---------------------------------------------------------------------------
56015599!* wrap up
56025600 *--------------------------------------------------------------------------- *)
0 commit comments