[英]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)
答案是Visual Studio弄得一團糟。
右鍵單擊並在F#窗口上重置可解決該問題。 仍然不知道是什么原因造成的。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.