gpt4 book ai didi

sorbet - 有关冰糕设置的问题 : How to unsilence the errors in step 4

转载 作者:行者123 更新时间:2023-12-02 03:48:37 25 4
gpt4 key购买 nike

在此处的文档中https://sorbet.org/docs/adopting#step-4-fix-constant-resolution-errors它指出:

At this point, it’s likely that there are lots of errors in our project, but Sorbet silences them by default. Our next job is to unsilence them and then fix the root causes. Empirically, there are a handful of categories of errors people encounter at this step:

但没有说明如何消除错误

我已经浏览了文档、问题以及之前标记的问题。还尝试过 srb tc -h 和 srb rbi -h 命令,但到目前为止什么也没发现 - 这是否只是将 typed: false 交换为其他设置之一?

最佳答案

答案在这里:https://sorbet.org/docs/static

However, in step (3), most kinds of errors are silenced by default, instead of being reported. To opt into more checks, we use # typed: sigils.

所以是的,只需使用更强的严格级别,例如 true

关于sorbet - 有关冰糕设置的问题 : How to unsilence the errors in step 4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56703536/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com