A good language server / ide will also complain about incorrect types. That specific example is a deterministic process, no llm is required for it at all.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: