hubFS: THE place for F#

. . . are you on The Hub?
Welcome to hubFS: THE place for F# Sign in | Join | Help
in Search

Offside rule bug

Last post 07-31-2008, 20:29 by brianmcn. 1 replies.
Sort Posts: Previous Next
  •  07-31-2008, 18:18 6494

    Offside rule bug

    According to the specs http://research.microsoft.com/fsharp/manual/spec2.aspx#_Toc202383947 "14.1.8 Exceptions to when tokens are offside"
    "When in a SeqBlock context, an infix token may be offside by the size of the token plus one."

    This should be allowed

    let fn () =
            2
        ||| 3


    but it seems that in the current implementation the beginning of the infix token can only be offside by
    3 spaces or less like this

    let fn () =
            2
         ||| 3


    and even like this

    let fn () =

            2
         + 3

  •  07-31-2008, 20:29 6497 in reply to 6494

    Re: Offside rule bug

    Thanks for the report!  This is a known issue that will be fixed in the next release.
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems