"Fossies" - the Fresh Open Source Software Archive

Member "fsharp-4.5/tests/fsharp/core/span/test3.bsl" (5 Sep 2018, 705 Bytes) of package /linux/misc/mono-sources/fsharp/fsharp-4.5.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 test3.fsx(31,17,31,23): typecheck error FS0027: This value is not mutable. Consider using the mutable keyword, e.g. 'let mutable x = expression'.
    3 
    4 test3.fsx(39,21,39,27): typecheck error FS0027: This value is not mutable. Consider using the mutable keyword, e.g. 'let mutable x = expression'.
    5 
    6 test3.fsx(47,26,47,27): typecheck error FS0001: The type 'Span<int>' is not compatible with the type 'seq<'a>'
    7 
    8 test3.fsx(48,21,48,27): typecheck error FS0027: This value is not mutable. Consider using the mutable keyword, e.g. 'let mutable x = expression'.
    9 
   10 test3.fsx(47,26,47,27): typecheck error FS0193: Type constraint mismatch. The type 
   11     'Span<int>'    
   12 is not compatible with type
   13     'seq<'a>'    
   14