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
FAKE (4.7.2) breaks with #985
Comments
No, actually the repo can be reduced to:
Definitely not a FAKE problem, it's an issue in FSharp.Compiler.Services. |
Phew :) I'm wondering: I don't understand FCS very deeply, but I saw that it can't find the binding of identifiers starting with an underscore (or an underscore, for that matter): fsprojects-archive/zzarchive-VisualFSharpPowerTools#1032 and fsharp/fsharp-compiler-docs#422 Is your issue related to that issue? |
Don't think so, the bug occurs whether the for loop uses an underscore or not. I think it's more like to relate to an optimization tries to convert strings to contants, but does take into account dynamically allocated strings. I say that, as if you change let tableTab to be a string constant, rather than the result of a sprintf, everything works ok. |
FCS 1.4.2.3 has been pushed with a fix for this integrated. I believe you should be able to update FAKE to use this. |
Closing old issue |
The following script breaks FAKE (4.7.2):
#r @"..\packages\FAKE\tools\FakeLib.dll"
The output is:
C:\code\rfq-hub
>packages\FAKE\tools\FAKE.exe scripts\build.fsx
Very strange little bug, if you inline the dlls identifier, it works. If you use a list instead of a sequence it works. If you call some other function than setRegistryValue, it works.
The text was updated successfully, but these errors were encountered: