You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[finding] EvalContext.api declares os.exists / os.count / os.lookup and buildScope() binds none of them — a predicate that calls one is refused, and an unevaluable predicate rejects the write #18318
⚠️ 这块声明是会被当真的。它有类型、有字段名、有一句说明「Implemented opportunistically by call sites that have a query engine」—— 读到它的人(或 AI)会合理地得出结论:只要调用方有查询引擎,os.lookup(...) 在谓词里就能用。
实际写下去拿到的是运行时错误:
runtime: found no matching overload for 'dyn.lookup(string, dyn)'
Activity