-
Notifications
You must be signed in to change notification settings - Fork 815
Running F# scripts in unix without proper file extensions results in strange behaviour #1241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@eiriktsarpalis |
@KevinRansom Do you think we should lift this restriction for fsi only or the compiler in general? |
@eiriktsarpalis Just for FSI, and probably only for one script. I think the extension matters too much for the compiler, c.f. fs v. fsi v. fsx, shich all have different rules. |
I tried installing an F# script to replace I wouldn’t mind passing an extra argument like |
If we speak of |
In any unix environment with F# 4.0 installed, running
Results in the following behaviour:
While the error message clearly states what the problem is here, I think there are a couple of issues to notice:
The text was updated successfully, but these errors were encountered: