繁体   English   中英

交互式中出现F#错误,但命令行REPL中没有F#错误

[英]F# errors in Interactive but not in command line REPL

在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)
  • 找不到什么索引
  • 为什么它只能在命令行REPL中工作?

答案是Visual Studio弄得一团糟。

右键单击并在F#窗口上重置可解决该问题。 仍然不知道是什么原因造成的。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM