[英]F# errors in Interactive but not in command line REPL
This is erroring when run in Visual Studio F# Interactive window, but not in the command line F# REPL or in Rider. 在Visual Studio F#交互式窗口中运行,但不在命令行F#REPL或Rider中运行时,这是错误的。
let numbers = [1..10]
let numberFilter number = number % 5 = 0 || number % 3 = 0
;;
error FS0193: internal error: Index not found. (Exception from HRESULT: 0x80131124)
The answer was that Visual Studio had got it's knickers in a twist. 答案是Visual Studio弄得一团糟。
Right click and reset on the F# window cured the problem. 右键单击并在F#窗口上重置可解决该问题。 Still don't know what caused it though.
仍然不知道是什么原因造成的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.