Old version of compiler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fsharp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
F# compiler in ubuntu is really old. This is taken from Focasa preview:
$ fsharpc --help
F# Compiler for F# 4.0 (Open Source Edition)
Freely distributed under the Apache 2.0 Open Source License
$ dpkg --list | grep fsharp
ii fsharp 4.0.0.4+dfsg2-2
This compiler has bugs that upstream new versions of F# don't have, for example:
a) Create a file "bug.fs" with this content:
```
let FindInFile (someStrings: seq<string>) =
for line in System.
for someString in someStrings do
FindInFile ["x";"y"]
```
Compile it with `fsharpc bug.fs`
Current results:
F# Compiler for F# 4.0 (Open Source Edition)
Freely distributed under the Apache 2.0 Open Source License
/home/knocte/
Expected results (what happens with newer F# in Windows):
C:\Users\
Microsoft (R) F# Compiler version 10.8.0.0 for F# 4.7
Copyright (c) Microsoft Corporation. All Rights Reserved.
C:\Users\knocte>
(no error)
b) The bundled version of the tool "fsharpi" is also buggy, see https:/
Feature request!
Please post the contents of the latest bug in this tracker in a new post to be handled.